This is a fix for PR binutils/16723, where a corrupt .gnu.version_r section could
[binutils-gdb.git] / binutils / deflex.l
index a5e344883b9b979dbc6f4f7cc4440e928228ed76..0a9a0d94abb7ebe1b777d257cdf9ebee98570fe8 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;
 
 %}