From b69d743e780f968ea158e8eb1ce3fcce822c2989 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 7 Dec 2002 05:50:45 +0000 Subject: [PATCH] (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. --- doc/bison.texinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 1deeb36..652da66 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. -- 2.7.4