summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-10 16:14:59 -0700
committerCarl Worth <cworth@cworth.org>2010-05-10 16:14:59 -0700
commit725c17a9266c1141508da623c8781412853b70e4 (patch)
treec9f3b50861eb6b01fd967cae7fd77e6953369c46 /Makefile
parent633a692225fcdad15ce84776a7a18d7d008d52b3 (diff)
Makefile: Enable debugging of parser.
This compiles the debugging code for teh parser. It's not active unless the yydebug variable is set to a non-zero value.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0af7e05..d37e923 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused
glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o
%.c %.h: %.y
- bison --defines=$*.h --output=$*.c $^
+ bison --debug --defines=$*.h --output=$*.c $^
%.c: %.l
flex --outfile=$@ $<