This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]