From: Paul Eggert Date: Sat, 7 Dec 2002 05:50:45 +0000 (+0000) Subject: (Table of Symbols): YYERROR_VERBOSE should X-Git-Tag: BISON-1_875~168 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b69d743e780f968ea158e8eb1ce3fcce822c2989?ds=sidebyside (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. --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 1deeb365..652da664 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -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.