From b5ad1d30df993d68cc64c140bf1005b5490f2605 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sat, 21 May 2022 14:01:09 +0900 Subject: Stop supporting SLR(1) and always use LALR(1) --- spec/description.go | 1 - spec/grammar.go | 1 - 2 files changed, 2 deletions(-) (limited to 'spec') diff --git a/spec/description.go b/spec/description.go index 4102455..552840a 100644 --- a/spec/description.go +++ b/spec/description.go @@ -66,7 +66,6 @@ type State struct { } type Report struct { - Class string `json:"class"` Terminals []*Terminal `json:"terminals"` NonTerminals []*NonTerminal `json:"non_terminals"` Productions []*Production `json:"productions"` diff --git a/spec/grammar.go b/spec/grammar.go index bf14d86..e3c87d1 100644 --- a/spec/grammar.go +++ b/spec/grammar.go @@ -23,7 +23,6 @@ type Maleeni struct { } type ParsingTable struct { - Class string `json:"class"` Action []int `json:"action"` GoTo []int `json:"goto"` StateCount int `json:"state_count"` -- cgit v1.2.3