Skip to content

Commit 0886781

Browse files
authored
Merge pull request #122 from Brainrotlang/refactor/mem_allocation
Region-based allocation for AST nodes
2 parents 7d4e49f + 3a9abce commit 0886781

File tree

7 files changed

+189
-216
lines changed

7 files changed

+189
-216
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LDFLAGS := -lfl -lm
1111
# Source files and directories
1212
SRC_DIR := lib
1313
DEBUG_FLAGS := -g
14-
SRCS := $(SRC_DIR)/hm.c $(SRC_DIR)/mem.c $(SRC_DIR)/input.c ast.c
14+
SRCS := $(SRC_DIR)/hm.c $(SRC_DIR)/mem.c $(SRC_DIR)/input.c $(SRC_DIR)/arena.c ast.c
1515
GENERATED_SRCS := lang.tab.c lex.yy.c
1616
ALL_SRCS := $(SRCS) $(GENERATED_SRCS)
1717

0 commit comments

Comments
 (0)