aboutsummaryrefslogtreecommitdiff
path: root/grammar/first_test.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-11-06 17:30:48 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-11-06 17:31:52 +0900
commita84350cc4a213b74fdd592e8b9eeeb6079d0f5ff (patch)
treee3f6191c06863cddf642c8e769ba732d13866d89 /grammar/first_test.go
parentMove the skip table from lexer-related data to parser-related data (diff)
downloadcotia-a84350cc4a213b74fdd592e8b9eeeb6079d0f5ff.tar.gz
cotia-a84350cc4a213b74fdd592e8b9eeeb6079d0f5ff.tar.xz
Split SymbolTable's APIs into reader/writer
Diffstat (limited to 'grammar/first_test.go')
-rw-r--r--grammar/first_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/first_test.go b/grammar/first_test.go
index 5f128cc..21ee4df 100644
--- a/grammar/first_test.go
+++ b/grammar/first_test.go
@@ -183,7 +183,7 @@ func genActualFirst(t *testing.T, src string) (*firstSet, *Grammar) {
return fst, gram
}
-func genExpectedFirstEntry(t *testing.T, symbols []string, empty bool, symTab *symbolTable) *firstEntry {
+func genExpectedFirstEntry(t *testing.T, symbols []string, empty bool, symTab *symbolTableReader) *firstEntry {
t.Helper()
entry := newFirstEntry()