pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:816:    */   void debug_push_unlimited_array_type(enum PIKE_TYPE t)   {    struct compilation * c = MAYBE_THIS_COMPILATION;   #ifdef PIKE_DEBUG    if ((t != PIKE_T_ARRAY) && (t != PIKE_T_STRING)) {    Pike_fatal("Invalid type for push_unlimited_array_type(): %s (%d)\n",    get_name_of_type(t), t);    }   #endif -  if (peek_type_stack()->type == PIKE_T_ZERO) { +  if (!peek_type_stack() || (peek_type_stack()->type == PIKE_T_ZERO)) {    push_type(PIKE_T_ZERO);    } else {    push_int_type(0, MAX_INT32);    }    push_type(t);       TYPE_STACK_DEBUG("push_array_type");   }      static int (*program_id_to_id)(int) = NULL;