[Top][All Lists]

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

Re: proposed namespace cleanup for bison.simple

From: Akim Demaille
Subject: Re: proposed namespace cleanup for bison.simple
Date: 30 Nov 2001 12:08:07 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

| Hi Paul, 
| Youy should run the testsuite because your last patch seems
| having broken the tests in and

| /home/prog/bison/work/bison-1_29-branch/tests-bison/src/bison.simple:117: 
parse error before `YYSTYPE'
| cc1: warnings being treated as errors

??? I can't see that one.

Can you still reproduce it Marc?

I've applied the following patch, which was the sole failure I observe
on the test suite.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * src/bison.simple (YYSTACK_FREE): Use `{;}' as empty if body
        instead of `;' to pacify GCC's warnings.

Index: src/bison.simple
RCS file: /cvsroot/bison/bison/src/bison.simple,v
retrieving revision
diff -u -u -r1.53.2.8 bison.simple
--- src/bison.simple 2001/11/30 02:47:56
+++ src/bison.simple 2001/11/30 11:05:27
@@ -78,7 +78,7 @@

 # define YYSTACK_ALLOC alloca
-# define YYSTACK_FREE(Ptr) /* empty */
+# define YYSTACK_FREE(Ptr) { /* empty */; }
 # define YYSTACK_ALLOC malloc
 # define YYSTACK_FREE(Ptr) free (Ptr)

reply via email to

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