diff options
author | Bernhard Rosenkranzer <bero@lindev.ch> | 2017-01-18 13:38:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-01-18 13:38:27 +0000 |
commit | 2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5 (patch) | |
tree | 63cf2c4fc3f2470bedfcb9b671b497f45a8e7416 /binutils/deflex.l | |
parent | 1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (diff) | |
download | gdb-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/deflex.l')
-rw-r--r-- | binutils/deflex.l | 6 |
1 files changed, 1 insertions, 5 deletions
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 |