summaryrefslogtreecommitdiff
path: root/usr.bin/yacc/defs.h
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-02-04 08:37:03 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-02-04 08:37:03 +0000
commitce8185023668ea8fe7722e432f0c7d81e4e5e5e1 (patch)
tree8e4262a3af9bba69525e3afa43ac452721b019dc /usr.bin/yacc/defs.h
parentcb21bce4874f417ceeea5dd7cb32572bbb51db1b (diff)
Yacc now understands %expect keyword. This should help prevent yacc from
gagging on GNU bison grammer.
Diffstat (limited to 'usr.bin/yacc/defs.h')
-rw-r--r--usr.bin/yacc/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/yacc/defs.h b/usr.bin/yacc/defs.h
index cae5f3d13ca..4772d37c490 100644
--- a/usr.bin/yacc/defs.h
+++ b/usr.bin/yacc/defs.h
@@ -1,4 +1,4 @@
-/* $Id: defs.h,v 1.1 1995/10/18 08:47:05 deraadt Exp $ */
+/* $Id: defs.h,v 1.2 1996/02/04 08:37:00 etheisen Exp $ */
#include <assert.h>
#include <ctype.h>
@@ -66,6 +66,7 @@
#define START 7
#define UNION 8
#define IDENT 9
+#define EXPECT 10
/* symbol classes */
@@ -263,6 +264,7 @@ extern short *to_state;
extern action **parser;
extern int SRtotal;
+extern int SRexpect;
extern int RRtotal;
extern short *SRconflicts;
extern short *RRconflicts;