diff options
author | jkim <jkim@FreeBSD.org> | 2013-05-03 23:51:32 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-05-03 23:51:32 +0000 |
commit | eb004e0f1388470d70a4c8ffc653d593cc372887 (patch) | |
tree | 178d54373fb0edb2ba3c317479c4aa893565bb94 /sbin/devd | |
parent | 0ceb3c977351928509aac9580e4929caa3985909 (diff) | |
download | FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.zip FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.tar.gz |
Improve compatibility with recent flex from flex.sourceforge.net.
Diffstat (limited to 'sbin/devd')
-rw-r--r-- | sbin/devd/token.l | 5 |
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]+ ; |