bison-patches
[Top][All Lists]
Advanced

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

Re: [RFA] Fix glr.c's YYDEBUG and YY_ERROR_VERBOSE vs. glr.cc


From: Paul Eggert
Subject: Re: [RFA] Fix glr.c's YYDEBUG and YY_ERROR_VERBOSE vs. glr.cc
Date: Wed, 13 Sep 2006 11:39:31 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

There was a typo in my previous patch that "make check" didn't catch
but "make maintainer-check" did.  I installed the following further
patch.  Sorry about that.

--- data/lalr1.cc       13 Sep 2006 17:41:19 -0000      1.143
+++ data/lalr1.cc       13 Sep 2006 18:37:24 -0000      1.144
@@ -363,13 +363,13 @@ do {                                      \
 
 #else /* !YYDEBUG */
 
+# define YYCDEBUG if (false) std::cerr
 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 # define YY_REDUCE_PRINT(Rule)
 # define YY_STACK_PRINT()
 
 #endif /* !YYDEBUG */
 
-#define YYCDEBUG       if (false) std::cerr
 #define YYACCEPT       goto yyacceptlab
 #define YYABORT                goto yyabortlab
 #define YYERROR                goto yyerrorlab




reply via email to

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