Begun refactoring the Parser to generate a list of Stmt which the Interpreter will then execute (to be done).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
CFLAGS=-g -Wall -DDEBUG
|
||||
CFLAGS=-g -Wall -DDEBUG -Wpedantic
|
||||
SRCDIR=src
|
||||
OBJDIR=obj
|
||||
SRCS=$(wildcard $(SRCDIR)/*.c)
|
||||
@@ -11,7 +11,7 @@ BIN=$(BINDIR)/clox
|
||||
|
||||
all: $(BIN)
|
||||
|
||||
release: CFLAGS=-Wall -O2
|
||||
release: CFLAGS=-Wall -Wpedantic -O2
|
||||
release: clean
|
||||
release: $(BIN)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user