[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: [MAIN] tests-yyerror-verbose.patch
From: |
Pascal Bart |
Subject: |
Re: FYI: [MAIN] tests-yyerror-verbose.patch |
Date: |
Sat, 1 Sep 2001 12:29:16 +0000 (GMT) |
On Sat, 1 Sep 2001, marc-alexandre autret wrote:
>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 :
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.
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.
An idea could be
#if defined (YYERROR_VERBOSE) || %%verbose
but criticals are sames.
Pascal Bart (address@hidden)