summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-11-19 19:48:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-11-19 19:48:28 +0000
commit3ebb9bc3c231d97af9c819385a338aad28329d7f (patch)
tree83488110c3520e75a17397525e6b92f25c460556 /usr.sbin
parentc75584be6c40ab69fa4779469cbcdb5b53a93e6b (diff)
lexer fixes to work with new flex. from Serguey Parkhomovsky
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/scan.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/config/scan.l b/usr.sbin/config/scan.l
index b5c0543325c..0ccd743f8d4 100644
--- a/usr.sbin/config/scan.l
+++ b/usr.sbin/config/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.22 2015/01/16 06:40:16 deraadt Exp $ */
+/* $OpenBSD: scan.l,v 1.23 2015/11/19 19:48:27 tedu Exp $ */
/* $NetBSD: scan.l,v 1.13 1997/02/02 21:12:37 thorpej Exp $ */
/*
@@ -67,10 +67,10 @@ struct incl {
static struct incl *incl;
static int endinclude(void);
-#define yywrap() 1
-
%}
+%option noyywrap
+
PATH [A-Za-z_0-9]*[./][-A-Za-z_0-9./\$\{\}]*
WORD [A-Za-z_][-A-Za-z_0-9]*