summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup
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.bin/csup
parent0ceb3c977351928509aac9580e4929caa3985909 (diff)
downloadFreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.zip
FreeBSD-src-eb004e0f1388470d70a4c8ffc653d593cc372887.tar.gz
Improve compatibility with recent flex from flex.sourceforge.net.
Diffstat (limited to 'usr.bin/csup')
-rw-r--r--usr.bin/csup/token.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/csup/token.l b/usr.bin/csup/token.l
index 267e61f..69f5ea4 100644
--- a/usr.bin/csup/token.l
+++ b/usr.bin/csup/token.l
@@ -35,12 +35,11 @@
#include "misc.h"
#include "token.h"
-#define YY_NO_UNPUT
-
int lineno = 1;
%}
+%option nounput
%option noyywrap
%%
OpenPOWER on IntegriCloud