aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-09-01 23:57:02 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-09-02 00:01:35 +0900
commit8832b64b4227245e45f9a24d543c1b80168c489d (patch)
tree20ed014caa923254d8e7870241225d8c20f7d2b4 /spec/grammar.go
parentRemove the expected terminals field from the parsing table (diff)
downloadurubu-8832b64b4227245e45f9a24d543c1b80168c489d.tar.gz
urubu-8832b64b4227245e45f9a24d543c1b80168c489d.tar.xz
Support LAC (lookahead correction)
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 8403308..825fc2c 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -22,6 +22,7 @@ type Maleeni struct {
}
type ParsingTable struct {
+ Class string `json:"class"`
Action []int `json:"action"`
GoTo []int `json:"goto"`
StateCount int `json:"state_count"`