* lib/hash.h (__P): Added definition for this macro.

* src/Makefile.am: Add parse-skel.c and scan-skel.c to BUILT_SOURCES, to ensure they are generated first.
* src/parse-skel.y: Use YYERROR_VERBOSE instead of %error-verbose to allow bootstrapping with bison 1.30x.
This commit is contained in:
Tim Van Holder
2002-01-07 23:00:39 +00:00
parent e9f87b5b7d
commit a67cef01b1
4 changed files with 18 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ bison_SOURCES = LR0.c closure.c complain.c conflicts.c \
print.c reader.c reduce.c symtab.c warshall.c vcg.c \
skeleton.h parse-skel.h parse-skel.y scan-skel.l
BUILT_SOURCES = parse-skel.c scan-skel.c
EXTRA_bison_SOURCES = vmsgetargs.c
noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \

View File

@@ -22,7 +22,6 @@
%debug
%defines
%verbose
%error-verbose
%locations
%name-prefix="skel_"
%pure-parser
@@ -37,6 +36,8 @@
#include "skeleton.h"
#include "muscle_tab.h"
#define YYERROR_VERBOSE 1
/* Pass the control structure to YYPARSE but not YYLEX (yet?). */
#define YYPARSE_PARAM skel_control
/* YYPARSE receives SKEL_CONTROL as a void *. Provide a correctly