diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-11-19 19:48:28 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-11-19 19:48:28 +0000 |
commit | 3ebb9bc3c231d97af9c819385a338aad28329d7f (patch) | |
tree | 83488110c3520e75a17397525e6b92f25c460556 /sbin | |
parent | c75584be6c40ab69fa4779469cbcdb5b53a93e6b (diff) |
lexer fixes to work with new flex. from Serguey Parkhomovsky
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/wsconsctl/map_scan.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/wsconsctl/map_scan.l b/sbin/wsconsctl/map_scan.l index 60172cc9d45..a660b25dd89 100644 --- a/sbin/wsconsctl/map_scan.l +++ b/sbin/wsconsctl/map_scan.l @@ -1,4 +1,4 @@ -/* $OpenBSD: map_scan.l,v 1.5 2015/04/18 18:28:37 deraadt Exp $ */ +/* $OpenBSD: map_scan.l,v 1.6 2015/11/19 19:48:27 tedu Exp $ */ /* $NetBSD: map_scan.l 1.1 1998/12/28 14:01:17 hannken Exp $ */ /*- @@ -30,6 +30,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +%option noyywrap + %{ #include <dev/wscons/wsksymdef.h> @@ -39,8 +41,6 @@ #include "wsconsctl.h" #include "y.tab.h" -#define yywrap() 1 - void map_scan_setinput(char *str) { |