]> git.saurik.com Git - bison.git/commit - doc/bison.texi
c++: do not export YYTOKEN_TABLE and YYERROR_VERBOSE.
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 25 Jun 2012 14:52:30 +0000 (16:52 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 27 Jun 2012 08:03:21 +0000 (10:03 +0200)
commit258cddbc3695f2095cbfbc9ff95309b28733f7d2
tree50cf70499764e89645a5830b285e86e74c467388
parent9bcffa0c13d1abee13433f14cdb785cbb960425c
c++: do not export YYTOKEN_TABLE and YYERROR_VERBOSE.

* src/output.c (prepare_symbols): Do not define b4_token_table.
(prepare): Define b4_token_table_flag.
* data/bison.m4 (b4_token_table_if): New.
Arm it when error-verbose.
* data/glr.c, data/yacc.c (YYTOKEN_TABLE): Remove.
Use m4.
* data/lalr1.cc: Likewise.
(YYERROR_VERBOSE): Remove.
* NEWS, doc/bison.texi: Document this.
NEWS
data/bison.m4
data/glr.c
data/lalr1.cc
data/yacc.c
doc/bison.texi
src/output.c