pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.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: interpret.c,v 1.284 2003/01/15 19:03:26 mast Exp $ + || $Id: interpret.c,v 1.285 2003/02/17 15:20:46 grubba Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.284 2003/01/15 19:03:26 mast Exp $"); + RCSID("$Id: interpret.c,v 1.285 2003/02/17 15:20:46 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:318:    case T_LVALUE:    assign_svalue_no_free(to, lval->u.lval);    break;       case T_SHORT_LVALUE:    assign_from_short_svalue_no_free(to, lval->u.short_lval,    (TYPE_T)lval->subtype);    break;       case T_OBJECT: +  if (lval[1].type == T_LVALUE) { +  low_object_index_no_free(to, lval->u.object, lval[1].u.integer); +  } else {    object_index_no_free(to, lval->u.object, lval+1); -  +  }    break;       case T_ARRAY:    simple_array_index_no_free(to, lval->u.array, lval+1);    break;       case T_MAPPING:    mapping_index_no_free(to, lval->u.mapping, lval+1);    break;   
pike.git/src/interpret.c:385:       case T_LVALUE:    assign_svalue(lval->u.lval,from);    break;       case T_SHORT_LVALUE:    assign_to_short_svalue(lval->u.short_lval, (TYPE_T)lval->subtype, from);    break;       case T_OBJECT: +  if (lval[1].type == T_LVALUE) { +  object_low_set_index(lval->u.object, lval[1].u.integer, from); +  } else {    object_set_index(lval->u.object, lval+1, from); -  +  }    break;       case T_ARRAY:    simple_set_index(lval->u.array, lval+1, from);    break;       case T_MAPPING:    mapping_insert(lval->u.mapping, lval+1, from);    break;