aboutsummaryrefslogtreecommitdiff
path: root/grammar/slr_test.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-07-31 16:30:56 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-07-31 16:30:56 +0900
commit7db2c43fb274dcd1302f10fe20825b27f08ea5be (patch)
tree27c3a2bf2de6c0793a841682d4e33875d8e570bc /grammar/slr_test.go
parentDetect duplicate names between terminals and non-terminals (diff)
downloadurubu-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.go4
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)
}