class Racc::LogFileGenerator

def output_state(out)

def output_state(out)
  out << "--------- State ---------\n"
  showall = @debug_flags.la || @debug_flags.state
  @states.each do |state|
    out << "\nstate #{state.ident}\n\n"
    (showall ? state.closure : state.core).each do |ptr|
      pointer_out(out, ptr) if ptr.rule.ident != 0 or showall
    end
    out << "\n"
    action_out out, state
  end
end