pike.git / src / modules / Parser / html.c

version» Context lines:

pike.git/src/modules/Parser/html.c:1474: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if (!head)    Pike_fatal("internal error: tail not found in feed (put_out_feed_range)\n");   #endif    /* Should never have empty strings in the feed. */    ref_push_string(head->s);    put_out_feed(this,sp-1);    pop_stack();    head=head->next;    } -  /* NOT_REACHED */ +  UNREACHABLE();   }      /* ------------------------ */   /* push feed range on stack */      static INLINE int low_push_feed_range(struct piece *head,    ptrdiff_t c_head,    struct piece *tail,    ptrdiff_t c_tail)   {
pike.git/src/modules/Parser/html.c:3882:    if (st == THIS->stack) ignore_tag_cb = 1;    /* FALL THROUGH */       state_reread:    case STATE_REREAD: /* reread stack head */    if (THIS->stack_count>THIS->max_stack_depth)    Pike_error("Parser.HTML: too deep recursion\n");    break;    }    } -  /* NOT_REACHED */ +  UNREACHABLE();   }      /****** feed ****************************************/         static void low_feed(struct pike_string *ps)   {    struct piece *f;       if (!ps->len) return;