aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jail/jaillex.l
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-05-03 23:51:32 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-05-03 23:51:32 +0000
commita7880d59c9588622a96ec154fd3fbb6c037bb83a (patch)
tree178d54373fb0edb2ba3c317479c4aa893565bb94 /usr.sbin/jail/jaillex.l
parent8ce3644c917db6b436a11cb1109dfc3cdfb673c1 (diff)
downloadsrc-a7880d59c9588622a96ec154fd3fbb6c037bb83a.tar.gz
src-a7880d59c9588622a96ec154fd3fbb6c037bb83a.zip
Improve compatibility with recent flex from flex.sourceforge.net.
Notes
Notes: svn path=/head/; revision=250227
Diffstat (limited to 'usr.sbin/jail/jaillex.l')
-rw-r--r--usr.sbin/jail/jaillex.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/jail/jaillex.l b/usr.sbin/jail/jaillex.l
index 0a2fcd72a526..b77e15a402a5 100644
--- a/usr.sbin/jail/jaillex.l
+++ b/usr.sbin/jail/jaillex.l
@@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$");
#include "jailp.h"
#include "y.tab.h"
-#define YY_NO_INPUT
-#define YY_NO_UNPUT
-
extern int yynerrs;
static ssize_t text2lval(size_t triml, size_t trimr, int tovar);
@@ -47,6 +44,9 @@ static int instr;
static int lineno = 1;
%}
+%option noinput
+%option nounput
+
%start _ DQ
%%