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/test_helper_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 '')
-rw-r--r-- | grammar/test_helper_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/test_helper_test.go b/grammar/test_helper_test.go index cf9da2b..1dcdede 100644 --- a/grammar/test_helper_test.go +++ b/grammar/test_helper_test.go @@ -4,7 +4,7 @@ import "testing" type testSymbolGenerator func(text string) symbol -func newTestSymbolGenerator(t *testing.T, symTab *symbolTable) testSymbolGenerator { +func newTestSymbolGenerator(t *testing.T, symTab *symbolTableReader) testSymbolGenerator { return func(text string) symbol { t.Helper() |