The generated code for the yyparse() function header looks like this:

#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

In the case where neither __STDC__ nor __cplusplus is defined,
a function prototype (note the semi-colon) is generated, rather
than a function header. Is this by design, or is it truly a bug?

Thanks,

Michael Martin

[EMAIL PROTECTED]



Reply via email to