diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-21 14:01:09 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-22 15:44:47 +0900 |
commit | b5ad1d30df993d68cc64c140bf1005b5490f2605 (patch) | |
tree | 919e3102866b4dcf4ed58c0a48227ee0c81f1f5d /driver/spec.go | |
parent | Prohibit applying #left, #right, #assign, and #prec to an error symbol (diff) | |
download | urubu-b5ad1d30df993d68cc64c140bf1005b5490f2605.tar.gz urubu-b5ad1d30df993d68cc64c140bf1005b5490f2605.tar.xz |
Stop supporting SLR(1) and always use LALR(1)
Diffstat (limited to 'driver/spec.go')
-rw-r--r-- | driver/spec.go | 4 |
1 files changed, 0 insertions, 4 deletions
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 } |