When running 'make check' for 2.5.37 (or 2.5.36) the two tests 'test-bison-yylloc' and 'test-bison-yylval' have failed because IMHO they are broken:
the generated file 'parser.h' declares testparse with argument 'void *' when YYPARSE_PARAM is defined or with argument 'void' otherwise.
That is fine when compiling parse.c which defines YYPARSE_PARAM as 'scanner' and defines testparse with argument 'void *'
When compiling main.c YYPARSE_PARAM is, however, undefined when including parse.h, but nevertheless there is an extern declaration for testparse with argument 'void *'. The result are compilation errors due to conflicting types.
Log in to post a comment.