mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(Table of Symbols): YYERROR_VERBOSE should
be #defined in the prologue, not in the Bison declarations. This fixes Debian Bug 102878, reported by Shaul Karl.
This commit is contained in:
@@ -6415,8 +6415,8 @@ Macro to pretend that a syntax error has just been detected: call
|
||||
@end deffn
|
||||
|
||||
@deffn {Macro} YYERROR_VERBOSE
|
||||
An obsolete macro that you define with @code{#define} in the Bison
|
||||
declarations section to request verbose, specific error message strings
|
||||
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
|
||||
@code{%error-verbose} is preferred.
|
||||
|
||||
Reference in New Issue
Block a user