Add YYLEX and YYEMPTY macros to make byacc look more like bison.

Obtained from:  Cygnus source tree, with permission.
		Original commit by Jim Wilson, wilson@cygnus.com.
This commit is contained in:
Jeffrey Hsu 1996-11-04 21:54:52 +00:00
parent 2a5a34dfa4
commit b20d9ed2e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19407

View File

@ -60,7 +60,9 @@ char *banner[] =
"#define YYBYACC 1",
"#define YYMAJOR 1",
"#define YYMINOR 9",
"#define yyclearin (yychar=(-1))",
"#define YYLEX yylex()",
"#define YYEMPTY -1",
"#define yyclearin (yychar=(YYEMPTY))",
"#define yyerrok (yyerrflag=0)",
"#define YYRECOVERING (yyerrflag!=0)",
"/* cfront 1.2 defines \"c_plusplus\" instead of \"__cplusplus\" */",