projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633a692
)
Makefile: Enable debugging of parser.
author
Carl Worth
<cworth@cworth.org>
Mon, 10 May 2010 23:14:59 +0000
(16:14 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 10 May 2010 23:14:59 +0000
(16:14 -0700)
This compiles the debugging code for teh parser. It's not active
unless the yydebug variable is set to a non-zero value.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0af7e05d1b23a7781ea8ce373d7d04ba98df3953..d37e9233ec02955978cd722232a4a0497b291cc5 100644
(file)
--- 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 --de
bug --de
fines=$*.h --output=$*.c $^
%.c: %.l
flex --outfile=$@ $<