aboutsummaryrefslogtreecommitdiff
path: root/binutils/arlex.l
diff options
context:
space:
mode:
authorBernhard Rosenkranzer <bero@lindev.ch>2017-01-18 13:38:27 +0000
committerNick Clifton <nickc@redhat.com>2017-01-18 13:38:27 +0000
commit2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5 (patch)
tree63cf2c4fc3f2470bedfcb9b671b497f45a8e7416 /binutils/arlex.l
parent1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (diff)
downloadgdb-2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5.zip
gdb-2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5.tar.gz
gdb-2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5.tar.bz2
Add support for processing lex source files with flex v 2.6.3
PR 21059 binutils* arlex.l: Support processing with flex 2.6.3. * deflex.l: Likewise. gas * config/bfin-lex.l: Support processing with flex 2.6.3. * itbl-lex.l: Likewise.
Diffstat (limited to 'binutils/arlex.l')
-rw-r--r--binutils/arlex.l6
1 files changed, 1 insertions, 5 deletions
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