Bison perhaps has a bug.

2010-02-09 Thread Supervisor Root
I used bison2.4.1, yacc1.9.1 and flex2.5.4 to create a simple parser under windows XP platform, but I found that yyparse return zero when syntax is error, this is or not a bug? The parser's yacc grammar is as follows: /*statement.flex*/ /* */ %{ #include #include "y.tab.h" %} %% [ \

bison2.4.1 perhaps has a bug under winxp platform.

2010-02-09 Thread Supervisor Root
I used bison2.4.1, yacc1.9.1 and flex2.5.4 to create a simple parser under windows XP platform, but I found that yyparse return zero when syntax is error, this is or not a bug? The parser's yacc grammar is as follows: /*statement.flex*/ /* */ %{ #include #include "y.tab.h" %} %% [ \t]+ ; [\