pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:313:    }    return;    } else if (t->type <= MAX_TYPE) {    addchar(t->type ^ MIN_REF_TYPE);    } else {    addchar(t->type);    }    switch(t->type) {    default:    Pike_fatal("error in type tree: %d.\n", t->type); -  /*NOTREACHED*/ +  UNREACHABLE(break);    -  break; -  +     case PIKE_T_ATTRIBUTE: /* FIXME: Strip this in compat mode. */    case PIKE_T_NAME:    {    struct svalue sval;    SET_SVAL(sval, PIKE_T_STRING, 0, string, (void *)t->car);    encode_value2(&sval, data, 0);    }    t=t->cdr;    goto one_more_type;   
pike.git/src/encode.c:2089:       SET_ONERROR(err1, restore_type_stack, Pike_compiler->type_stackp);    SET_ONERROR(err2, restore_type_mark, Pike_compiler->pike_type_mark_stackp);       tmp = GETC();    if (tmp <= MAX_TYPE) tmp ^= MIN_REF_TYPE;    switch(tmp)    {    default:    decode_error(data, NULL, "Error in type string (%d).\n", tmp); -  /*NOTREACHED*/ -  break; +  UNREACHABLE(break);       case T_ASSIGN:    tmp = GETC();    if ((tmp < '0') || (tmp > '9')) {    decode_error(data, NULL, "Bad marker in type string (%d).\n", tmp);    }    low_decode_type(data);    push_assign_type(tmp); /* Actually reverse, but they're the same */    break;