From a7880d59c9588622a96ec154fd3fbb6c037bb83a Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 3 May 2013 23:51:32 +0000 Subject: Improve compatibility with recent flex from flex.sourceforge.net. --- sbin/devd/token.l | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin') diff --git a/sbin/devd/token.l b/sbin/devd/token.l index 7a63bec36b41..b3441c3a03d1 100644 --- a/sbin/devd/token.l +++ b/sbin/devd/token.l @@ -37,8 +37,6 @@ #include "y.tab.h" int lineno = 1; -#define YY_NO_UNPUT -#define YY_NO_INPUT static void update_lineno(const char *cp) @@ -50,6 +48,9 @@ update_lineno(const char *cp) %} +%option nounput +%option noinput + %% [ \t]+ ; -- cgit v1.2.3