From c257188cd912503371db1c2b7b2c59b4fd53df1c Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 15 May 2024 20:40:33 +0000 Subject: regex module: implemented token scanners, added definitions and scan table. --- project/common.mk | 1 + project/headers.mk | 7 ++++++- project/tree.mk | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'project') diff --git a/project/common.mk b/project/common.mk index c9523bd..c26a018 100644 --- a/project/common.mk +++ b/project/common.mk @@ -4,6 +4,7 @@ API_SRCS = \ src/driver/tbnf_map_input.c \ src/driver/tbnf_unit_ctx.c \ src/output/tbnf_output_error.c \ + src/regex/tbnf_regex.c \ src/skin/tbnf_skin_default.c \ src/tokscan/tbnf_scan_token.c \ diff --git a/project/headers.mk b/project/headers.mk index c5ae8b6..9c2fcaa 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -7,7 +7,12 @@ INTERNAL_HEADERS = \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_dprintf_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_driver_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_errinfo_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_regex_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_tmpfile_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_visibility_impl.h \ -ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) +INTERNAL_UNIT_HEADERS = \ + $(SOURCE_DIR)/src/regex/tbnf_regex_defs.h \ + $(SOURCE_DIR)/src/regex/tbnf_regex_scanfns.h \ + +ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) $(INTERNAL_UNIT_HEADERS) diff --git a/project/tree.mk b/project/tree.mk index 0c51986..d01bd24 100644 --- a/project/tree.mk +++ b/project/tree.mk @@ -1,6 +1,7 @@ TREE_DIRS = src \ src/driver \ src/output \ + src/regex \ src/skin \ src/tokscan \ src/internal \ -- cgit v1.2.3