pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.86 2000/03/01 08:40:52 hubbe Exp $"); + RCSID("$Id: operators.c,v 1.87 2000/03/24 01:24:50 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"   #include "mapping.h"   #include "array.h"   #include "stralloc.h"   #include "opcodes.h"   #include "operators.h"   #include "language.h"   #include "pike_memory.h"
pike.git/src/operators.c:2374:    node **arg;    emit2(F_MARK);    do_docode(CDR(n),DO_NOT_COPY);    emit2(F_CALL_FUNCTION);    return 1;   }      struct program *string_assignment_program;      #undef THIS - #define THIS ((struct string_assignment_storage *)(fp->current_storage)) + #define THIS ((struct string_assignment_storage *)(CURRENT_STORAGE))   static void f_string_assignment_index(INT32 args)   {    INT32 i;    get_all_args("string[]",args,"%i",&i);    if(i<0) i+=THIS->s->len;    if(i<0)    i+=THIS->s->len;    if(i<0 || i>=THIS->s->len)    error("Index %d is out of range 0 - %d.\n", i, THIS->s->len-1);    else