bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the h


From: Akim Demaille
Subject: Re: RFC: yacc.c: factor (was: yacc.c does not prototype yyparse in the header)
Date: Wed, 13 Jun 2012 21:54:55 +0200

Le 12 juin 2012 à 16:07, Akim Demaille a écrit :

> 
> Le 11 juin 2012 à 10:54, Akim Demaille a écrit :
> 
>> 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.  I see
>> nothing in the documentation of Yacc that prevents this,
>> and surely this is troublesome for many uses.
> 
> Third act of refactoring.  This time it is not installed
> yet, as I would appreciate some opinion, as the generated
> code is somewhat different:
> 
>  The main difference is that in the *.c file we used the yy*
>  names (as %prefix is handled by "#define yy* <prefix>*" before), while
>  the *.hh used <prefix>* names.  Keep only the later.
> 
> I don't think we care, but someone might have a different
> opinion.

Installed in maint.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]