aboutsummaryrefslogtreecommitdiff
path: root/grammar/production.go
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/production.go')
-rw-r--r--grammar/production.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/grammar/production.go b/grammar/production.go
index d4ea7a1..87b392f 100644
--- a/grammar/production.go
+++ b/grammar/production.go
@@ -58,10 +58,6 @@ func newProduction(lhs symbol, rhs []symbol) (*production, error) {
}, nil
}
-func (p *production) equals(q *production) bool {
- return q.id == p.id
-}
-
func (p *production) isEmpty() bool {
return p.rhsLen == 0
}