[patch] prevent build warnings from arlex.l and syslex.l

John Marino binutils@marino.st
Fri Apr 8 06:36:00 GMT 2011


John Marino wrote:
> Alan Modra wrote:
>> On Tue, Apr 05, 2011 at 08:11:44PM +0200, John Marino wrote:
>>> +#ifndef YY_NO_UNPUT
>>>  #define YY_NO_UNPUT
>>> +#endif
>>
>> Is there any reason to not use this instead?
>> #undef YY_NO_UNPUT
>> #define YY_NO_UNPUT
>>
> 
> 
> It's supposed to be defined by the first line "%option nounput"
> If anything, the line "#undef YY_NO_UNPUT" should be deleted, however 
> Nick wanted to stick with this method in case someone has a broken 
> implementation of lex.
> 
> He's the one that committed the ldlex.l change on March 28.
> 
> Regards,
> 
> John

Is there anything holding this patch back from being committed?  I just 
don't want it fall between the cracks.

Thanks,
John



More information about the Binutils mailing list