diff --git a/lib/lrama/states_reporter.rb b/lib/lrama/states_reporter.rb index b8282143..ec5364c0 100644 --- a/lib/lrama/states_reporter.rb +++ b/lib/lrama/states_reporter.rb @@ -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?