diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-11-06 17:30:48 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-11-06 17:31:52 +0900 |
commit | a84350cc4a213b74fdd592e8b9eeeb6079d0f5ff (patch) | |
tree | e3f6191c06863cddf642c8e769ba732d13866d89 /grammar/first_test.go | |
parent | Move the skip table from lexer-related data to parser-related data (diff) | |
download | cotia-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.go | 2 |
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() |