mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
muscle: factor the kind check in M4
* data/bison.m4 (b4_percent_define_check_kind): New.
Use it to check api.token.prefix.
* data/c++.m4: Check the kind of api.namespace.
* doc/bison.texi: Update a reference to former 'namespace' variable.
* tests/input.at ("%define" code variables): Check api.namespace.
This commit is contained in:
@@ -12758,7 +12758,7 @@ push parser, @code{yypush_parse}, @code{yypull_parse}, @code{yypstate},
|
||||
@code{yypstate_new} and @code{yypstate_delete} will also be renamed. For
|
||||
example, if you use @samp{%name-prefix "c_"}, the names become
|
||||
@code{c_parse}, @code{c_lex}, and so on. For C++ parsers, see the
|
||||
@code{%define namespace} documentation in this section.
|
||||
@code{%define api.namespace} documentation in this section.
|
||||
@end deffn
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user