Hi,
Bison 2.1 produces the sequence of code as below. Note the line
containing only a ";". This extra ";" causes compiler error because the
body of yyparse() follows "int yyparse()" (right after two #endifs).
Bison 1.875 is Ok.
#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 ()
;
#endif
#endif