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: Pascal Bart
Subject: Re: FYI: [MAIN] tests-yyerror-verbose.patch
Date: Sat, 1 Sep 2001 10:34:28 +0000 (GMT)

On Sat, 1 Sep 2001, marc-alexandre autret wrote:

>Now, all tests are successful.

You don't need to change the tests, documentation talk about YYERROR_VERBOSE
set, and not set to a value, I did a patch about so let me do, the problem
is in bison.simple in fact.

>Index: ChangeLog
>===================================================================
>RCS file: /cvsroot/bison/bison/ChangeLog,v
>retrieving revision 1.204
>diff -u -r1.204 ChangeLog
>--- ChangeLog  2001/08/31 18:51:06     1.204
>+++ ChangeLog  2001/09/01 01:19:01
>@@ -1,3 +1,8 @@
>+2001-09-01  Marc Autret  <address@hidden>
>+
>+      * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
>+      to an explicit value to activate the feature. We do it here.
>+
> 2001-08-31  Pascal Bart  <address@hidden>
>
>       * src/output.c (prepare): Delete the `filename' muscule insertion.
>Index: tests/calc.at
>===================================================================
>RCS file: /cvsroot/bison/bison/tests/calc.at,v
>retrieving revision 1.5
>diff -u -r1.5 calc.at
>--- tests/calc.at      2001/08/04 14:00:09     1.5
>+++ tests/calc.at      2001/09/01 01:19:02
>@@ -245,7 +245,7 @@
> [_AT_DATA_CALC_Y($[1], $[2], $[3],
>                  [ifelse(regexp([$1], [--yyerror-verbose]),
>                          [-1], [],
>-                         [[#define YYERROR_VERBOSE]])])])
>+                         [[#define YYERROR_VERBOSE 1]])])])
>


Pascal Bart (address@hidden)




reply via email to

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