From: Carl Worth Date: Mon, 10 May 2010 23:14:59 +0000 (-0700) Subject: Makefile: Enable debugging of parser. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=725c17a9266c1141508da623c8781412853b70e4;p=mesa.git 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. --- diff --git a/Makefile b/Makefile index 0af7e05d1b2..d37e9233ec0 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=$@ $<