pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:751:    */   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) { +  push_type(PIKE_T_ZERO); +  } else {    push_int_type(0, MAX_INT32); -  +  }    push_type(t);   }      static int (*program_id_to_id)(int) = NULL;      PMOD_EXPORT void set_program_id_to_id( int (*to)(int) )   {    program_id_to_id = to;   }