aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-31 20:10:26 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-31 20:10:26 +0900
commitccf0123d7f1b88ee7cdd4e2ea15ab9e94457538a (patch)
tree6ad35758eb1fd37a84d33266af54a4e9bd6d405e /spec/grammar.go
parentRefactor (diff)
downloadurubu-ccf0123d7f1b88ee7cdd4e2ea15ab9e94457538a.tar.gz
urubu-ccf0123d7f1b88ee7cdd4e2ea15ab9e94457538a.tar.xz
Remove the expected terminals field from the parsing table
The driver searches the expected terminals corresponding to each state if necessary.
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 42e6dc2..8403308 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -37,7 +37,6 @@ type ParsingTable struct {
ErrorSymbol int `json:"error_symbol"`
ErrorTrapperStates []int `json:"error_trapper_states"`
RecoverProductions []int `json:"recover_productions"`
- ExpectedTerminals [][]int `json:"expected_terminals"`
}
type ASTAction struct {