[Top][All Lists]

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

Re[2]: bison v2.2

From: Oleg Smolsky
Subject: Re[2]: bison v2.2
Date: Mon, 17 Oct 2005 13:52:47 +1300

Hello Paul,

Paul Eggert wrote on 16/10/2005 at 2:26 p.m.:
>> ./configure: line 5285: syntax error near unexpected token `-Werror'
>> ./configure: line 5285: `  BISON_WARNING(-Werror)'
> m4/warning.m4 does a AC_DEFUN([BISON_WARNING],...).. It sounds like
> this wasn't expanded. Perhaps you didn't start with a fresh copy of
> Bison checked out from CVS?
OK, just got a fresh copy from CVS and everything configured and
compiled successfully. Thanks a lot for your help.

Now, I've tried using this new CVS/HEAD bison in my project, and the
flex generated scanner fails to build due to the lack of token IDs.
There is now a public enum yytokentype { }; in yy::parser::token,
so, am I supposed to use this kind of syntax in my flex file?

"exit" {
    return yy::parser::token::T_EXIT;

What's about the compatibility with older versions? :)

Best regards,

reply via email to

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