mirror of
https://github.com/iritmaximus/ttk91-compiler.git
synced 2026-10-12 19:13:40 +03:00
added debug flags to bison (did nothing xd)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user