added debug flags to bison (did nothing xd)

This commit is contained in:
Aaro Koivukangas
2024-08-15 16:14:11 +02:00
parent 66d23b8365
commit f2f4f5ef0a
+1 -1
View File
@@ -19,7 +19,7 @@ scanner:
flex -i -o $(SRCDIR)/scanner.c $(SRCDIR)/scanner.flex
parser:
bison --defines=$(INCLUDEDIR)/token.h --output=$(SRCDIR)/parser.c $(SRCDIR)/parser.bison -Wcounterexamples
bison --defines=$(INCLUDEDIR)/token.h --output=$(SRCDIR)/parser.c $(SRCDIR)/parser.bison -Wcounterexamples --debug -t
all: scanner parser
$(CC) $(CC_FLAGS) -I$(INCLUDEDIR) $(FILES) -o compiler