summaryrefslogtreecommitdiff
path: root/gcc/gengtype-lex.l
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2009-11-21 10:24:25 +0000
committerBen Elliston <bje@gcc.gnu.org>2009-11-21 21:24:25 +1100
commite81f2ecf58f3d5d17a0dbf64f608cef15be5b9ca (patch)
treec27165c58e469597ebde9e5947d7e25c2547a5ca /gcc/gengtype-lex.l
parent3d53a24508cd644901e155b0d7cf9f9fe3d5675a (diff)
downloadgcc-e81f2ecf58f3d5d17a0dbf64f608cef15be5b9ca.tar.gz
gengtype-lex.l: Enable noinput flex option.
* gengtype-lex.l: Enable noinput flex option. (YY_NO_INPUT): Remove define. From-SVN: r154406
Diffstat (limited to 'gcc/gengtype-lex.l')
-rw-r--r--gcc/gengtype-lex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l
index da118d02b28..297ebf857a8 100644
--- a/gcc/gengtype-lex.l
+++ b/gcc/gengtype-lex.l
@@ -19,6 +19,8 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+%option noinput
+
%{
#include "bconfig.h"
#include "system.h"
@@ -28,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
#include "gengtype.h"
-#define YY_NO_INPUT
#define YY_DECL int yylex (const char **yylval)
#define yyterminate() return EOF_TOKEN