Fix compile time warnings about unused variables 'yyinput' and 'input'.
authorDmitry Gorbachev <d.g.gorbachev@gmail.com>
Wed, 12 Mar 2014 10:56:17 +0000 (10:56 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 12 Mar 2014 10:56:17 +0000 (10:56 +0000)
PR binutils/16567
* deflex.l: Add noinput and nounput options.

binutils/ChangeLog
binutils/deflex.l

index 4a87080..21ac1e5 100644 (file)
@@ -1,3 +1,8 @@
+2014-03-12  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
+
+       PR binutils/16567
+       * deflex.l: Add noinput and nounput options.
+
 2014-03-12  Alan Modra  <amodra@gmail.com>
 
        * Makefile.in: Regenerate.
index a5e3448..0a9a0d9 100644 (file)
@@ -1,3 +1,5 @@
+%option noinput nounput
+
 %{/* deflex.l - Lexer for .def files */
 
 /* Copyright (C) 1995-2014 Free Software Foundation, Inc.
@@ -27,8 +29,6 @@
 #include "defparse.h"
 #include "dlltool.h"
 
-#define YY_NO_UNPUT
-
 int linenumber;
 
 %}