summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-10-13 21:32:24 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-10-13 21:32:24 +0000
commitec3c5af51bfcb51f976b184af54d6b0c12b077f3 (patch)
tree62bbeddd3e75559a71fa45465439dc59493d27b1 /bin/ksh/lex.h
parent647a0f92a2544a00265b0a8eaff14f417a2dbe0f (diff)
Update to version 5.2.11.
Diffstat (limited to 'bin/ksh/lex.h')
-rw-r--r--bin/ksh/lex.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ksh/lex.h b/bin/ksh/lex.h
index 8d755ca031d..bca6446d268 100644
--- a/bin/ksh/lex.h
+++ b/bin/ksh/lex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.h,v 1.2 1996/10/01 02:05:43 downsj Exp $ */
+/* $OpenBSD: lex.h,v 1.3 1996/10/13 21:32:20 downsj Exp $ */
/*
* Source input, lexer and parser
@@ -14,12 +14,13 @@ struct source {
int type; /* input type */
char const *start; /* start of current buffer */
union {
- char ugbuf[2]; /* buffer for ungetsc() (SREREAD) */
char **strv; /* string [] */
struct shf *shf; /* shell file */
- struct tbl *tblp; /* alias */
+ struct tbl *tblp; /* alias (SALIAS) */
char *freeme; /* also for SREREAD */
} u;
+ char ugbuf[2]; /* buffer for ungetsc() (SREREAD) and
+ * alias (SALIAS) */
int line; /* line number */
int errline; /* line the error occured on (0 if not set) */
const char *file; /* input file name */