summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-15 20:40:33 +0000
committermidipix <writeonce@midipix.org>2024-05-15 20:40:33 +0000
commitc257188cd912503371db1c2b7b2c59b4fd53df1c (patch)
tree8077d9f09fa85521f53a94f3fa33d17a7975a11c /project
parentae7810f56e1daa1d2e35c06969c26835c1ed7800 (diff)
downloadtreebnf-c257188cd912503371db1c2b7b2c59b4fd53df1c.tar.bz2
treebnf-c257188cd912503371db1c2b7b2c59b4fd53df1c.tar.xz
regex module: implemented token scanners, added definitions and scan table.
Diffstat (limited to 'project')
-rw-r--r--project/common.mk1
-rw-r--r--project/headers.mk7
-rw-r--r--project/tree.mk1
3 files changed, 8 insertions, 1 deletions
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 \