diff options
author | JSDurand <mmemmew@gmail.com> | 2022-01-28 11:16:16 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-01-28 11:16:16 +0800 |
commit | e8e1c91b40c9c82a0fd8373746a7b8cfb130f467 (patch) | |
tree | d815ae94866fccc3dea037cea36bd020770a49a1 /src/grammar.h | |
parent | bad2b1934da66021cbc7f0d715686706bd444449 (diff) |
BSR
A prototype of BSR is roughly finished.
Diffstat (limited to 'src/grammar.h')
-rw-r--r-- | src/grammar.h | 2 |
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); |