Ejemplo n.º 1
0
static void
__printpanics (Panic *p)
{
  if (p->next != NULL)
    {
      __printpanics (p->next);
      runtime_printf ("\t");
    }
  runtime_printf ("panic: ");
  runtime_printany (p->arg);
  if (p->recovered)
    runtime_printf (" [recovered]");
  runtime_printf ("\n");
}
Ejemplo n.º 2
0
static void
__printpanics (struct __go_panic_stack *p)
{
  if (p->__next != NULL)
    {
      __printpanics (p->__next);
      runtime_printf ("\t");
    }
  runtime_printf ("panic: ");
  runtime_printany (p->__arg);
  if (p->__was_recovered)
    runtime_printf (" [recovered]");
  runtime_printf ("\n");
}