From: Dmitry Gorbachev Date: Wed, 12 Mar 2014 10:56:17 +0000 (+0000) Subject: Fix compile time warnings about unused variables 'yyinput' and 'input'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c63043aae739e147ad1da015d48ecceeb8b3fef9;p=binutils-gdb.git Fix compile time warnings about unused variables 'yyinput' and 'input'. PR binutils/16567 * deflex.l: Add noinput and nounput options. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4a87080b8f5..21ac1e5d7bb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2014-03-12 Dmitry Gorbachev + + PR binutils/16567 + * deflex.l: Add noinput and nounput options. + 2014-03-12 Alan Modra * Makefile.in: Regenerate. diff --git a/binutils/deflex.l b/binutils/deflex.l index a5e344883b9..0a9a0d94abb 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -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; %}