aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/arlex.l6
-rw-r--r--binutils/deflex.l6
3 files changed, 8 insertions, 10 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4c89edc..5fdec0f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
+
+ PR 21059
+ * arlex.l: Support processing with flex 2.6.3.
+ * deflex.l: Likewise.
+
2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
* resbin.c: Optional dialog control data immediately follows
diff --git a/binutils/arlex.l b/binutils/arlex.l
index b5b12d1..43350df 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -1,4 +1,4 @@
-%option noinput nounput
+%option noinput nounput noyywrap
%{
/* arlex.l - Strange script language lexer */
@@ -88,7 +88,3 @@ int linenumber;
"\n" { linenumber ++; return NEWLINE; }
%%
-#ifndef yywrap
-/* Needed for lex, though not flex. */
-int yywrap(void) { return 1; }
-#endif
diff --git a/binutils/deflex.l b/binutils/deflex.l
index b85c217..8c55629 100644
--- a/binutils/deflex.l
+++ b/binutils/deflex.l
@@ -1,4 +1,4 @@
-%option noinput nounput
+%option noinput nounput noyywrap
%{/* deflex.l - Lexer for .def files */
@@ -91,7 +91,3 @@ int linenumber;
"@" { return '@';}
"," { return ',';}
%%
-#ifndef yywrap
-/* Needed for lex, though not flex. */
-int yywrap(void) { return 1; }
-#endif