pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:20:   #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.113 2001/07/13 11:26:40 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.114 2001/07/20 04:02:30 mast 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))    Pike_error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:43: Inside #if defined(AUTO_BIGNUM)
   {   #ifdef AUTO_BIGNUM    case T_INT:    {    INT_TYPE val = what->u.integer;       convert_svalue_to_bignum(what);    index_no_free(to, what, ind);    if(IS_UNDEFINED(to)) {    if (val) { +  if (ind->type == T_STRING)    Pike_error("Indexing the integer %"PRINTPIKEINT"d " -  +  "with unknown method \"%s\".\n", val, ind->u.string->str); +  else +  Pike_error("Indexing the integer %"PRINTPIKEINT"d "    "with an unknown method.\n", val);    } else {    if(ind->type == T_STRING)    Pike_error("Indexing the NULL value with \"%s\".\n", ind->u.string->str);    else    Pike_error("Indexing the NULL value.\n");    }    }    }    break;