bison-patches
[Top][All Lists]
Advanced

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

Re: [SPAM] Re: Extract the action scanner from the grammar scanner


From: Akim Demaille
Subject: Re: [SPAM] Re: Extract the action scanner from the grammar scanner
Date: Thu, 8 Jun 2006 07:24:21 +0200


Le 7 juin 06 à 22:06, Joel E. Denny a écrit :

On Wed, 7 Jun 2006, Joel E. Denny wrote:

On Wed, 7 Jun 2006, Akim Demaille wrote:

"Joel" == Joel E Denny <address@hidden> writes:

I also had some #include problems.  Here's what I found:
[snip]
Hm.  I don't need them.  They are sane though.

Try configuring with --enable-gcc-warnings.

I installed the patch at the end of this message. It almost fixes this problem for me. Please review. There's at least one non-trivial change.

Because I still use Flex 2.5.4, which has worked for me until now, I also
need this:

--- flex-scanner.h      7 Jun 2006 07:58:28 -0000       1.1
+++ flex-scanner.h      7 Jun 2006 19:59:03 -0000
@@ -45,8 +45,8 @@ int   FLEX_PREFIX (lex_destroy) (void);
    yyleng etc. when a prefix is given, since there is no longer a
    #define, but rather the token is actually changed in the output.
    */
-#define yyleng  FLEX_PREFIX (leng)
-#define yytext  FLEX_PREFIX (text)
+/* #define yyleng  FLEX_PREFIX (leng) */
+/* #define yytext  FLEX_PREFIX (text) */

Well, please install a #ifndef so that it works for everybody.



reply via email to

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