From eb004e0f1388470d70a4c8ffc653d593cc372887 Mon Sep 17 00:00:00 2001 From: jkim 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/devd/token.l') diff --git a/sbin/devd/token.l b/sbin/devd/token.l index 7a63bec..b3441c3 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.1