On Sun, 14 Jan 2007, Hans Breuer wrote: > Bison 2.1 and 2.2 generate invalid C ouput, which breaks the build for a > gimp plug-in [1]. A stray semicolon occures since 2.1
> #ifdef YYPARSE_PARAM > # if defined (__STDC__) || defined (__cplusplus) > int yyparse (void *YYPARSE_PARAM) > # else > int yyparse (YYPARSE_PARAM) > void *YYPARSE_PARAM; > # endif > #else /* ! YYPARSE_PARAM */ > #if defined (__STDC__) || defined (__cplusplus) > int > yyparse (void) > #else > int > yyparse () > ; /* <-- this is the bug! */ > #endif > #endif I see that semicolon from 2.1 but not 2.2 or 2.3. I tried this test grammar: %% start: ;
