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 | |
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')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/arlex.l | 6 | ||||
-rw-r--r-- | binutils/deflex.l | 6 |
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 |