Skip to content

Commit

Permalink
Remove unnecessary process
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jun 9, 2024
1 parent dbea47e commit 491a525
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/lrama/states_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ def report_unused_terms(io)

terms = @states.symbols.select(&:term?)

@states.states.select do |state|
state.shifts.map(&:next_sym)
end

@states.states.each do |state|
state.reduces.select do |reduce|
used_symbols << reduce.look_ahead.flatten if !reduce.look_ahead.nil?
Expand Down

0 comments on commit 491a525

Please sign in to comment.