(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:
Paul Eggert
2002-12-07 05:50:45 +00:00
parent 4f21fffe7e
commit b69d743e78

View File

@@ -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.