+2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
+
+ PR 21059
+ * arlex.l: Support processing with flex 2.6.3.
+ * deflex.l: Likewise.
+ * syslex.l: Likewise.
+
2017-01-12 Nick Clifton <nickc@redhat.com>
PR binutils/20876
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/* arlex.l - Strange script language lexer */
"\n" { linenumber ++; return NEWLINE; }
%%
-#ifndef yywrap
-/* Needed for lex, though not flex. */
-int yywrap(void) { return 1; }
-#endif
-%option noinput nounput
+%option noinput nounput noyywrap
%{/* deflex.l - Lexer for .def files */
"@" { return '@';}
"," { return ',';}
%%
-#ifndef yywrap
-/* Needed for lex, though not flex. */
-int yywrap(void) { return 1; }
-#endif
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/* Copyright (C) 2001-2017 Free Software Foundation, Inc.
#define YY_NO_UNPUT
#endif
-#ifndef yywrap
-static int yywrap (void) { return 1; }
-#endif
-
extern int yylex (void);
%}
%%
+2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
+
+ PR 21059
+ * config/bfin-lex.l: Support processing with flex 2.6.3.
+ * itbl-lex.l: Likewise.
+
2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
* config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
+%option noyywrap
+
/* bfin-lex.l ADI Blackfin lexer
Copyright (C) 2005-2017 Free Software Foundation, Inc.
{
BEGIN KEYWORD;
}
-
-
-#ifndef yywrap
-int
-yywrap ()
-{
- return 1;
-}
-#endif
+%option noyywrap
+
/* itbl-lex.l
Copyright (C) 1997-2017 Free Software Foundation, Inc.
return yytext[0];
}
%%
-
-#ifndef yywrap
-int
-yywrap ()
- {
- return 1;
- }
-#endif
+2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
+
+ PR 21059
+ * ldlex.l: Support processing with flex 2.6.3.
+
2017-01-13 H.J. Lu <hongjiu.lu@intel.com>
Backport from master
-%option nounput
+%option nounput noyywrap
%{
*/
#define RTOKEN(x) { yylval.token = x; return x; }
-/* Some versions of flex want this. */
-#ifndef yywrap
-int yywrap (void) { return 1; }
-#endif
%}
%a 4000