mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
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.
This commit is contained in:
@@ -11216,7 +11216,8 @@ Reporting Function @code{yyerror}}.
|
||||
An obsolete macro that you define with @code{#define} in the prologue
|
||||
to request verbose, specific error message strings
|
||||
when @code{yyerror} is called. It doesn't matter what definition you
|
||||
use for @code{YYERROR_VERBOSE}, just whether you define it. Using
|
||||
use for @code{YYERROR_VERBOSE}, just whether you define it.
|
||||
Supported by the C skeletons only; using
|
||||
@code{%error-verbose} is preferred. @xref{Error Reporting}.
|
||||
@end deffn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user