8 Mar 19:02
Bug
Mindaugas <snaiperiui <at> takas.lt>
2007-03-08 18:02:18 GMT
2007-03-08 18:02:18 GMT
Hello,
I've found bug in bison 2.1. I'm using Windows and I can not test this
with new version 2.3, because I can't find 2.3 executables for windows.
I've use bison for much larger file, but this is reduced sample to
indicate a problem.
b.y:
--------------------------------
%%
Crlf : '\n' { }
;
--------------------------------
Command
bison -v -d b.y -ob.c
produces b.c file, which fails to compile. The reason of failure is this
part of code:
--------------------------------
/*----------.
| yyparse. |
`----------*/
#ifdef YYPARSE_PARAM
# if defined (__STDC__) || defined (__cplusplus)
int yyparse (void *YYPARSE_PARAM)
# else
int yyparse (YYPARSE_PARAM)
(Continue reading)
RSS Feed