]> git.saurik.com Git - bison.git/commit - data/glr.c
Apply --prefix to C++ skeletons too: they change the namespace.
authorAkim Demaille <akim@epita.fr>
Sun, 12 Mar 2006 14:45:27 +0000 (14:45 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 12 Mar 2006 14:45:27 +0000 (14:45 +0000)
commitaa08666d72d132462e8d53d2d23c95a3bcfa403d
treef0b36c52b80b10c5bf7887c33c2ea11cea3f956d
parent455671735e6f4e9712c2f5ac1bc153b07b33e67b
Apply --prefix to C++ skeletons too: they change the namespace.
The test suite already exercize these cases.
* data/c++.m4 (b4_namespace): New.
* data/lalr1.cc, data/glr.cc, data/location.cc: Use it instead of `yy'.
* data/lalr1.cc (yytnameerr_): Move its definition into the namespace.
* data/yacc.c, data/glr.c: Remove a useless `[]'.
* doc/bison.texinfo: Document it.
(Option Cross Key): Use @multitable in all formats.  It looks
nicer, even in TeX outputs.
(Rules): Use the same code whatever the output type is.
* tests/local.at (_AT_BISON_OPTION_PUSHDEFS)
(_AT_BISON_OPTION_POPDEFS): Support AT_NAME_PREFIX.
* tests/calc.at: Use it, instead of hard coding `yy'.
ChangeLog
NEWS
data/c++.m4
data/glr.c
data/glr.cc
data/lalr1.cc
data/location.cc
data/yacc.c
doc/bison.texinfo
tests/calc.at
tests/local.at