From ccf0123d7f1b88ee7cdd4e2ea15ab9e94457538a Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Tue, 31 Aug 2021 20:10:26 +0900 Subject: Remove the expected terminals field from the parsing table The driver searches the expected terminals corresponding to each state if necessary. --- spec/grammar.go | 1 - 1 file changed, 1 deletion(-) (limited to 'spec') 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 { -- cgit v1.2.3