From ce8185023668ea8fe7722e432f0c7d81e4e5e5e1 Mon Sep 17 00:00:00 2001 From: etheisen Date: Sun, 4 Feb 1996 08:37:03 +0000 Subject: Yacc now understands %expect keyword. This should help prevent yacc from gagging on GNU bison grammer. --- usr.bin/yacc/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/yacc/defs.h') 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 #include @@ -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; -- cgit v1.2.3