pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:19:   #include "pike_types.h"   #include "pike_memory.h"   #include "fd_control.h"   #include "cyclic.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "security.h"   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.73 2000/04/01 18:59:51 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.74 2000/04/20 02:41:45 hubbe Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {    INT32 i;      #ifdef PIKE_SECURITY    if(what->type <= MAX_COMPLEX)    if(!CHECK_DATA_SECURITY(what->u.array, SECURITY_BIT_INDEX))    error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:159:    default:    error("Cannot perform cast to that type.\n");       case T_MIXED:    return;       case T_MULTISET:    switch(sp[-1].type)    {    case T_ARRAY: +  { +  extern void f_mkmultiset(INT32);    f_mkmultiset(1);    break; -  +  }       default:    error("Cannot cast %s to multiset.\n",get_name_of_type(sp[-1].type));    }    break;       case T_MAPPING:    switch(sp[-1].type)    {    case T_ARRAY: