]> git.saurik.com Git - bison.git/commit - tests/local.at
Fix unexpanded macros in GLR defines file.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 19 Nov 2008 04:46:50 +0000 (23:46 -0500)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 19 Nov 2008 05:24:34 +0000 (00:24 -0500)
commit6c88b51e8395fe490c15ede2f1b2562258a4260d
treea9bba0679dde6ae31a87bc4f44e6f0307f7243fd
parent1e0348079323bc0dcf023e60873c976c77ece418
Fix unexpanded macros in GLR defines file.

Reported by Csaba Raduly at
<http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00048.html>.
* THANKS (Csaba Raduly): Add.
* data/glr.c: Fix overquoting on b4_prefix for yylval and yylloc.
* tests/calc.at (_AT_DATA_CALC_Y): If %defines is specified, generate
lexer in a separate module that includes the defines file.
(AT_CHECK_CALC): From AT_FULL_COMPILE, request compilation of lexer
source.
* tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Push AT_DEFINES_IF.
Adjust AT_LOC and AT_VAL to use AT_NAME_PREFIX.
(AT_BISON_OPTION_POPDEFS): Pop AT_DEFINES_IF.
(AT_DATA_SOURCE_PROLOGUE): New.
(AT_DATA_GRAMMAR_PROLOGUE): Use AT_DATA_SOURCE_PROLOGUE.
(AT_DATA_SOURCE): New.
(AT_FULL_COMPILE): Extend to support an additional source file.
ChangeLog
THANKS
data/glr.c
tests/calc.at
tests/local.at