bug-bison
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix variadic declaration of yyerror() and yylex() function p


From: Paul Eggert
Subject: Re: [PATCH] Fix variadic declaration of yyerror() and yylex() function prototypes
Date: Sat, 28 May 2005 00:48:52 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Jeannot Langlois <address@hidden> writes:

> Are these declarations another possible mistake by the test case
> writer?  Shouldn't these test case use "static int yyerror(...)" since
> they assert "%yacc" ?  (Should I change these test cases to use "void"
> too?  Or maybe there's something I didn't get...?)

The idea here, as I understand it, is to change Bison so that it
assumes "int" when in Yacc mode and "void" otherwise.  If so, then
yes, we should fix the test cases to agree with this new convention.




reply via email to

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