diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-07-31 16:30:56 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-07-31 16:30:56 +0900 |
commit | 7db2c43fb274dcd1302f10fe20825b27f08ea5be (patch) | |
tree | 27c3a2bf2de6c0793a841682d4e33875d8e570bc /grammar/slr_test.go | |
parent | Detect duplicate names between terminals and non-terminals (diff) | |
download | urubu-7db2c43fb274dcd1302f10fe20825b27f08ea5be.tar.gz urubu-7db2c43fb274dcd1302f10fe20825b27f08ea5be.tar.xz |
Write terminals to a description file
Diffstat (limited to 'grammar/slr_test.go')
-rw-r--r-- | grammar/slr_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar/slr_test.go b/grammar/slr_test.go index 9723a0d..41be03f 100644 --- a/grammar/slr_test.go +++ b/grammar/slr_test.go @@ -59,11 +59,11 @@ id: "[A-Za-z_][0-9A-Za-z_]*"; t.Fatal(err) } - nonTermTexts, err := gram.symbolTable.getNonTerminalTexts() + nonTermTexts, err := gram.symbolTable.nonTerminalTexts() if err != nil { t.Fatal(err) } - termTexts, err := gram.symbolTable.getTerminalTexts() + termTexts, err := gram.symbolTable.terminalTexts() if err != nil { t.Fatal(err) } |