mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
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:
parent
2a5a34dfa4
commit
b20d9ed2e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19407
@ -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\" */",
|
||||
|
Loading…
Reference in New Issue
Block a user