aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-09-09 15:20:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-09-09 15:20:19 +0000
commitd031bd192e6b987d6fa47dc00f5e5258bf3533e0 (patch)
treed0f486a229872fb13f546ba35a8951e3bd533b73 /usr.bin/m4
parentc560b67c5cc5edda2df3f2d887e67fd8275d2f05 (diff)
downloadsrc-d031bd192e6b987d6fa47dc00f5e5258bf3533e0.tar.gz
src-d031bd192e6b987d6fa47dc00f5e5258bf3533e0.zip
Notes
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/Makefile2
-rw-r--r--usr.bin/m4/tokenizer.l2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile
index a25995cb9fd6..e722d014eebf 100644
--- a/usr.bin/m4/Makefile
+++ b/usr.bin/m4/Makefile
@@ -8,7 +8,7 @@
PROG= m4
CFLAGS+=-DEXTENDED -I${.CURDIR} -I${SRCTOP}/lib/libopenbsd
-LIBADD= y l m openbsd
+LIBADD= m openbsd
NO_WMISSING_VARIABLE_DECLARATIONS=
diff --git a/usr.bin/m4/tokenizer.l b/usr.bin/m4/tokenizer.l
index 593b57de7133..1ce8201e849a 100644
--- a/usr.bin/m4/tokenizer.l
+++ b/usr.bin/m4/tokenizer.l
@@ -43,6 +43,8 @@ oct 0[0-7]*
dec [1-9][0-9]*
radix 0[rR][0-9]+:[0-9a-zA-Z]+
+%option noyywrap
+
%%
{ws} {/* just skip it */}
{hex}|{oct}|{dec} { yylval = number(); return(NUMBER); }