feat add func call and rewrite codes
This commit is contained in:
1 parent
09299e339c
commit
95bf44eb3f
37 files changed
+3364
-1058
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# 编译器设置
|
||||
CC = gcc
|
||||
AR = ar
|
||||
CFLAGS = -g
|
||||
CFLAGS = -g -Wall
|
||||
|
||||
# 源文件路径
|
||||
LEXER_DIR = ./lexer
|
||||
@@ -13,6 +13,7 @@ SYMTAB_DIR = ./parser/symtab
|
||||
SRCS = \
|
||||
frontend.c \
|
||||
$(LEXER_DIR)/lexer.c \
|
||||
$(LEXER_DIR)/token.c \
|
||||
$(PARSER_DIR)/parser.c \
|
||||
$(AST_DIR)/ast.c \
|
||||
$(AST_DIR)/block.c \
|
||||
|
||||
Reference in new issue
Block a user