Enabled lexer tests

This commit is contained in:
2022-11-23 13:02:43 +00:00
parent 923cf70c06
commit 130ac980fe
2 changed files with 8 additions and 1 deletions

View File

@@ -7,7 +7,14 @@ LIBS +=
ODIR = obj ODIR = obj
#TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c) #TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c)
TARGETS = ../source/memory.c ../source/refstring.c ../source/literal.c ../source/literal_array.c ../source/literal_dictionary.c ../source/scope.c #literal primitive
TARGETS+=../source/memory.c ../source/refstring.c ../source/literal.c ../source/literal_array.c ../source/literal_dictionary.c ../source/scope.c
#lexer
TARGETS+=../source/toy_common.c ../source/keyword_types.c ../source/lexer.c
#parser
#TARGETS+=
TESTS = $(wildcard test_*.c) TESTS = $(wildcard test_*.c)
OBJ = $(addprefix $(ODIR)/,$(TARGETS:../source/%.c=%.o)) $(addprefix $(ODIR)/,$(TESTS:.c=.o)) OBJ = $(addprefix $(ODIR)/,$(TARGETS:../source/%.c=%.o)) $(addprefix $(ODIR)/,$(TESTS:.c=.o))