summaryrefslogtreecommitdiff
path: root/src/flexdef.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2020-10-05 15:03:03 -0400
committerEric S. Raymond <esr@thyrsus.com>2020-10-05 21:02:51 -0400
commit96e004a296edf2a6f6e0b60b3da6e5d8e09428de (patch)
tree54110a905ab9ba9bf892f8328254305357721631 /src/flexdef.h
parent64cf0328063cd97dec09536a8f2bb35ce7350ffe (diff)
downloadflex-git-96e004a296edf2a6f6e0b60b3da6e5d8e09428de.tar.gz
Macroize the yy_meta, gen_yy_trans and start_state_list methods.
Also macro-generate yydmap entry for the yymeta table. We're npw about 75% of the way through pushing all C syntax out of the method table. Permutes table order in the generated code. #64 in the retargeting patch series
Diffstat (limited to 'src/flexdef.h')
-rw-r--r--src/flexdef.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/flexdef.h b/src/flexdef.h
index 4e44ba5..87038ad 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -309,13 +309,10 @@ struct flex_backend_t {
// Flex table generation
void (*ntod)(size_t); // Generate nxt table initializer start (fulltbl mode)
void (*mkctbl)(size_t); // Make full-speed compressed table initializer start
- size_t (*gen_yy_trans)(size_t); // Table of verify for transition and offset to next state. (sic)
- size_t (*start_state_list)(size_t); // Start initializer for table of pointers to start states
void (*mkftbl)(); // Make full table serialization entry
size_t (*genftbl)(size_t); // Make full table initializer start
size_t (*gentabs_acclist)(size_t); // Generate accept list initializer start
size_t (*gentabs_accept)(size_t); // Generate accept table initializer start
- size_t (*gentabs_yy_meta)(size_t); // Generate yy_meta table initializer start
size_t (*gentabs_yy_base)(size_t); // Generate yy_base table initializer start
size_t (*gentabs_yy_def)(size_t); // Generate yy_def initializer start
size_t (*gentabs_yy_nxt)(size_t); // Generate yy_nxt initializer start