parser -> preprocesser + parser
I've decided to split the module parsing into two modules, one for the preprocessing stage which only deals with tokens and the parsing stage which generates bytecode.
This commit is contained in:
2
Makefile
2
Makefile
@@ -35,7 +35,7 @@ VM_OUT=$(DIST)/ovm.out
|
||||
## ASSEMBLY setup
|
||||
ASM_DIST=$(DIST)/asm
|
||||
ASM_SRC=asm
|
||||
ASM_CODE:=$(addprefix $(ASM_SRC)/, lexer.cpp)
|
||||
ASM_CODE:=$(addprefix $(ASM_SRC)/, lexer.cpp, preprocesser.cpp)
|
||||
ASM_OBJECTS:=$(ASM_CODE:$(ASM_SRC)/%.cpp=$(ASM_DIST)/%.o)
|
||||
ASM_DEPS:=$(ASM_OBJECTS:%.o=%.d) $(ASM_DIST)/main.d
|
||||
ASM_CFLAGS=$(CPPFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user