Skip to content

Commit

Permalink
Remove unused @Owners
Browse files Browse the repository at this point in the history
  • Loading branch information
judofyr committed Jun 5, 2019
1 parent 6b0a416 commit f723705
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/glush/grammar.rb
Expand Up @@ -166,17 +166,14 @@ def _compute_empty

def _compute_transitions
@transitions = Hash.new { |h, k| h[k] = [] }
@owners = {}

@rules.each do |rule|
rule.body.each_pair do |a, b|
@transitions[a] << b
@owners[a] = @owners[b] = rule
end

rule.body.last_set.each do |lst|
@transitions[lst] << rule
@owners[lst] = rule
end

if !rule.body.empty? && rule.body.static?
Expand Down

0 comments on commit f723705

Please sign in to comment.