From 79f4b0d33cbb490f957d081bd7c8bc97bd4c689c Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 7 Feb 2023 17:52:17 -0600 Subject: fix parser using REJECT so that example works --- yy/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yy/makefile') diff --git a/yy/makefile b/yy/makefile index 6567b56..dffbbd6 100644 --- a/yy/makefile +++ b/yy/makefile @@ -6,7 +6,7 @@ kalmia.tab.c: kalmia.y bison -o "$@" --header=kalmia.tab.h kalmia.y kalmia.lex.c: kalmia.l - flex -o "$@" --header-file="kalmia.lex.h" kalmia.l + flex -f --warn -o "$@" --header-file="kalmia.lex.h" kalmia.l demo: kalmia.tab.c kalmia.lex.c demo.c gcc -g -o demo ${WARNINGS} demo.c kalmia.tab.c kalmia.lex.c -- cgit v1.2.1