]> git.saurik.com Git - bison.git/commitdiff
(Table of Symbols): YYERROR_VERBOSE should
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2002 05:50:45 +0000 (05:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2002 05:50:45 +0000 (05:50 +0000)
be #defined in the prologue, not in the Bison declarations.
This fixes Debian Bug 102878, reported by Shaul Karl.

doc/bison.texinfo

index 1deeb365a3f97d86ba3ac76d201ae5ab989cb5bc..652da66499ec61cceab649d8de58fe475296cdfd 100644 (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.