summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kbdcontrol/lex.l
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-05-03 23:51:32 +0000
committerjkim <jkim@FreeBSD.org>2013-05-03 23:51:32 +0000
commiteb004e0f1388470d70a4c8ffc653d593cc372887 (patch)
tree178d54373fb0edb2ba3c317479c4aa893565bb94 /usr.sbin/kbdcontrol/lex.l
parent0ceb3c977351928509aac9580e4929caa3985909 (diff)
downloadFreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.zip
FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.tar.gz
Improve compatibility with recent flex from flex.sourceforge.net.
Diffstat (limited to 'usr.sbin/kbdcontrol/lex.l')
-rw-r--r--usr.sbin/kbdcontrol/lex.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/kbdcontrol/lex.l b/usr.sbin/kbdcontrol/lex.l
index ea165ef..d4c6508 100644
--- a/usr.sbin/kbdcontrol/lex.l
+++ b/usr.sbin/kbdcontrol/lex.l
@@ -31,11 +31,12 @@
%{
#include "lex.h"
-#define YY_NO_UNPUT
-#define YY_NO_INPUT
%}
+%option nounput
+%option noinput
+
D [0-9]
X [0-9a-fA-F]
A .
OpenPOWER on IntegriCloud