On 06/11/2012 01:54 AM, Akim Demaille wrote:
> Bruce Korb just pointed out to me that Bison 2.5.1 does
> not prototype yyparse in the generated header, with yacc.c.
> The other skeletons do.  I don't understand why.

This is for historical reasons, as Bison
historically generated parsers that compiled with
traditional C compilers that did not support prototypes.
Nowadays that is no longer a concern, and yyparse can
use prototypes unconditionally.

> I guess we only have
> to pay attention to handle %prefix via M4, and not via CPP

I would think so, yes.

Reply via email to