Re: Unnecessary(?) declaration of flex

2010-08-14 Thread Paul Eggert
On 08/14/10 17:17, John P. Hartmann wrote: > It really serves no purpose now. Why not remove it? It's not present in Bison 2.4.3, the current version, so it sounds like your request has already been granted. ___ help-bison@gnu.org http://lists.gnu.org/

Re: Unnecessary(?) declaration of flex

2010-08-14 Thread John P. Hartmann
Yes, I think that may be it. flex used to try to support both the K&R and ANSI style of argument declaration. It really serves no purpose now. Why not remove it? Then I can forget what I must do to shut up gcc. Cheers, j. On 14 August 2010 15:50, Hans Aberg wrote: > On 14 Aug 2010, at 10

Re: Unnecessary(?) declaration of flex

2010-08-14 Thread Hans Aberg
On 14 Aug 2010, at 10:56, John P. Hartmann wrote: What is the purpose of this declaration in the generated C file: extern int yylex (void); I can see that I can define a macro to turn it off, but it seems to serve no purpose as the function is defined anyhow about fifteen lines below. I suppo

Unnecessary(?) declaration of flex

2010-08-14 Thread John P. Hartmann
What is the purpose of this declaration in the generated C file: extern int yylex (void); I can see that I can define a macro to turn it off, but it seems to serve no purpose as the function is defined anyhow about fifteen lines below. I suppose a purist might even object to "extern". You'll ge