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) --- driver/spec.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'driver/spec.go') diff --git a/driver/spec.go b/driver/spec.go index 6127e73..195cb8c 100644 --- a/driver/spec.go +++ b/driver/spec.go @@ -12,10 +12,6 @@ func NewGrammar(g *spec.CompiledGrammar) *grammarImpl { } } -func (g *grammarImpl) Class() string { - return g.g.ParsingTable.Class -} - func (g *grammarImpl) InitialState() int { return g.g.ParsingTable.InitialState } -- cgit v1.2.3