pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:1:   /*   || 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: array.c,v 1.200 2008/02/12 18:51:29 grubba Exp $ + || $Id: array.c,v 1.201 2008/03/29 02:43:01 mast Exp $   */      #include "global.h"   #include "svalue.h"   #include "array.h"   #include "object.h"   #include "las.h"   #include "stralloc.h"   #include "interpret.h"   #include "opcodes.h"
pike.git/src/array.c:356:    }    }    array_set_index(a,i,s);    break;    }       case T_STRING:    {    INT32 i, n;    check_stack(2); -  Pike_sp++->type = T_VOID; +  mark_free_svalue (Pike_sp++);    push_svalue(ind);    for (i = 0, n = a->size; i < n; i++) {    assign_svalue(Pike_sp-2, &a->item[i]);    assign_lvalue(Pike_sp-2, s);    }    pop_n_elems(2);    break;    }       default: