diff options
author | 1995-12-22 01:41:55 +0000 | |
---|---|---|
committer | 1995-12-22 01:41:55 +0000 | |
commit | 32d2c3a0b69263d94c4646784b4741dc6ade9ca1 (patch) | |
tree | 1b987c8b2a037d35b9c359cd8352c9534c36db4b | |
parent | Imported from Cygnus byacc, David 'Zoo' Zuhn: add support for a -o (diff) | |
download | wireguard-openbsd-32d2c3a0b69263d94c4646784b4741dc6ade9ca1.tar.xz wireguard-openbsd-32d2c3a0b69263d94c4646784b4741dc6ade9ca1.zip |
Imported from Cygnus byacc: Define YYEMPTY and YYLEX, because GCC uses them.
-rw-r--r-- | usr.bin/yacc/skeleton.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index be8f4690ae0..387f0437c92 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -16,12 +16,14 @@ char *banner[] = { "#ifndef lint", "/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/", - "static char yyrcsid[] = \"$Id: skeleton.c,v 1.1.1.1 1995/10/18 08:47:06 deraadt Exp $\";", + "static char yyrcsid[] = \"$Id: skeleton.c,v 1.2 1995/12/22 01:41:55 niklas Exp $\";", "#endif", "#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)", 0 |