mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Fix C++ test cases after recent Gnulib changes. Discussed starting at
<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00000.html>. * examples/calc++/Makefile.am (DEFAULT_INCLUDES): Override Automake's definition in order to avoid Gnulib headers since we don't use config.h here. * tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Use AT_DATA_GRAMMAR rather than AT_DATA so that config.h is included.
This commit is contained in:
@@ -157,7 +157,7 @@ AT_CHECK_CONFLICTING_OUTPUT([foo.y],
|
||||
m4_define([AT_CHECK_OUTPUT_FILE_NAME],
|
||||
[AT_SETUP([Output file name: $1])
|
||||
|
||||
AT_DATA([glr.y],
|
||||
AT_DATA_GRAMMAR([glr.y],
|
||||
[[%glr-parser
|
||||
%code {
|
||||
int yylex (void);
|
||||
@@ -171,7 +171,7 @@ AT_CHECK([ls "AS_ESCAPE([$1.c])" "AS_ESCAPE([$1.h])"], [], [ignore])
|
||||
AT_COMPILE([glr.o], [-c "AS_ESCAPE([$1.c])"])
|
||||
$2
|
||||
|
||||
AT_DATA([cxx.y],
|
||||
AT_DATA_GRAMMAR([cxx.y],
|
||||
[[%skeleton "lalr1.cc"
|
||||
%code { int yylex (yy::parser::semantic_type*); }
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user