summaryrefslogtreecommitdiff
path: root/src/grammar.h
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-28 11:16:16 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-28 11:16:16 +0800
commite8e1c91b40c9c82a0fd8373746a7b8cfb130f467 (patch)
treed815ae94866fccc3dea037cea36bd020770a49a1 /src/grammar.h
parentbad2b1934da66021cbc7f0d715686706bd444449 (diff)
BSR
A prototype of BSR is roughly finished.
Diffstat (limited to 'src/grammar.h')
-rw-r--r--src/grammar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grammar.h b/src/grammar.h
index 956fdcd..8d6cb06 100644
--- a/src/grammar.h
+++ b/src/grammar.h
@@ -167,6 +167,8 @@ void destroy_grammar(void *grammar, int flag);
NUM grammar_left_len(CCR_MOD(Grammar *)g);
+List *grammar_names(CCR_MOD(Grammar *)g);
+
/* look up a rule */
Rule_group *grammar_rule(CCR_MOD(Grammar *) g, NT nt);