Fix compile time warnings about unused variables 'yyinput' and 'input'.

PR binutils/16567
	* deflex.l: Add noinput and nounput options.
This commit is contained in:
Dmitry Gorbachev 2014-03-12 10:56:17 +00:00 committed by Nick Clifton
parent fa47fa9246
commit c63043aae7
2 changed files with 7 additions and 2 deletions

View 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.

View 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;
%}