aboutsummaryrefslogtreecommitdiff
path: root/gas/itbl-lex.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 /gas/itbl-lex.l
parent1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (diff)
downloadfsf-binutils-gdb-2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5.zip
fsf-binutils-gdb-2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5.tar.gz
fsf-binutils-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 'gas/itbl-lex.l')
-rw-r--r--gas/itbl-lex.l10
1 files changed, 2 insertions, 8 deletions
diff --git a/gas/itbl-lex.l b/gas/itbl-lex.l
index d9e243c..4a7c512 100644
--- a/gas/itbl-lex.l
+++ b/gas/itbl-lex.l
@@ -1,3 +1,5 @@
+%option noyywrap
+
/* itbl-lex.l
Copyright (C) 1997-2017 Free Software Foundation, Inc.
@@ -102,11 +104,3 @@ HEX [0-9A-Fa-f]
return yytext[0];
}
%%
-
-#ifndef yywrap
-int
-yywrap ()
- {
- return 1;
- }
-#endif