bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU bison 1.75b] testsuite.log: 14 failures


From: Paul Eggert
Subject: Re: [GNU bison 1.75b] testsuite.log: 14 failures
Date: Sun, 15 Dec 2002 01:37:45 -0800 (PST)

> Date: Fri, 13 Dec 2002 11:28:48 -0500
> From: Bruce Lilly <address@hidden>
> 
> If @samp{%parse-param "int *nastiness"  "nastiness"} is used, then:
> 
> @example
> void yyerror (int *randomness, const char *msg);  /* Yacc parsers.  */
> void yyerror (int *randomness, const char *msg);  /* GLR parsers.   */
> @end example

But that is correct, even if YYERROR_VERBOSE is defined.
YYERROR_VERBOSE affects only the contents of msg.  %parse-param
affects the number of arguments given to yyerror

(There is a typo: the "randomness" instances should be "nastiness".
I'll fix that.)

> Mind you, I don't *want* two args to yyerror, I prefer compatibility
> with current bison.

Hmm, perhaps we should add an %error-param.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]