bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: [MAIN] tests-yyerror-verbose.patch


From: marc-alexandre autret
Subject: Re: FYI: [MAIN] tests-yyerror-verbose.patch
Date: Sat, 1 Sep 2001 12:43:25 +0000 (GMT)

According to Pascal Bart:
>
> >Robert did that to make it controled by Bison, not by the CPP. I think, it is
> >better now, it follows what we are doing with muscles for one month.
> 
> But here that's doesn't work because :

Sure. but it will.
 
> if YYERROR_VERBOSE is not defined, we defined it with the zero value
> (%%verbose).  And user cann't change %%verbose value.
>
> else we do nothing, but user need to define himself YYERROR_VERBOSE and to
> set it with a value different of zero.

For the moment.
  
> This is absolutly not interesting, Bison doesn't need to know if
> YYERROR_VERBOSE is defined.  And with this code, user always uses CPP, and
> cann't defined his YYERROR_VERBOSE and set it with zero.

For the moment! It just change the fact that the user must give
an explicit value. After, we will add a %error_verbose for example...

> An idea could be
> #if defined (YYERROR_VERBOSE) || %%verbose
> but criticals are sames.

Ok, this a good idea too, but you must ask for
Robert about that...

-- 
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique.



reply via email to

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