822 823 824 825 826 827 828 829 830 831
# File 'lib/racc/state.rb', line 822 def init @grammar.each do |rule| @reduce.push Reduce.new(rule) end @statetable.each do |state| @shift.push Shift.new(state) end @accept = Accept.new @error = Error.new end