summaryrefslogtreecommitdiffstats
path: root/sbin/devd/token.l
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/devd/token.l')
-rw-r--r--sbin/devd/token.l5
1 files changed, 3 insertions, 2 deletions
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]+ ;
OpenPOWER on IntegriCloud