[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison bug?????
From: |
Ruud van der Meer |
Subject: |
bison bug????? |
Date: |
Thu, 16 Feb 2006 18:23:33 +0100 |
Hi all,
I am using bison/flex on windows (Visual C++)
gnu bison version 1.25
gnu flex version 2.5.4
I made a small parser and I noticed that the define YYFLAG
in my generated cpp file is set to (+)32768. In an example I
found I see it is set to -32768. I wonder how I can also set
it to -32768!
It seems that a result of having this define set to 32768 is
that no additional parser error information is generated. Of
course I like this extra parser error data.
Who knows what I should change (in the .l or .y maybe) to
get a different value for YYFLAG?
Ruud
PS. I tried this:
%{
#define YYDEBUG 1 // Generate debug code; needed for YYERROR_VERBOSE
#define YYERROR_VERBOSE // Give a more specific parse
%}
and I tried the -t option
but it did not help!
- bison bug?????,
Ruud van der Meer <=