pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin.cmod,v 1.135 2003/04/28 18:32:38 mast Exp $ + || $Id: builtin.cmod,v 1.136 2003/05/15 15:33:30 mast Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "opcodes.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"
pike.git/src/builtin.cmod:1348:    INT32 numargs = 0;       if (THIS->args) {    numargs = THIS->args->size;    }       numargs += 3;       if ((index < -numargs) || (index >= numargs)) {    index_error("pike_frame->`[]=", Pike_sp-args, args, NULL, Pike_sp-args, -  "Index %"PRINTPIKEINT"d is out of array range 0 - %d,\n", +  "Index %"PRINTPIKEINT"d is out of array range 0..%d,\n",    index, numargs-1);    } else if (index < 0) {    index += numargs;    }       if (args > 2) {    pop_n_elems(args - 2);    args = 2;    }