aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 002fac9..7901957 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -33,6 +33,9 @@ type ParsingTable struct {
NonTerminals []string `json:"non_terminals"`
NonTerminalCount int `json:"non_terminal_count"`
EOFSymbol int `json:"eof_symbol"`
+ ErrorSymbol int `json:"error_symbol"`
+ ErrorTrapperStates []int `json:"error_trapper_states"`
+ RecoverProductions []int `json:"recover_productions"`
ExpectedTerminals [][]int `json:"expected_terminals"`
}