pike.git / src / las.c

version» Context lines:

pike.git/src/las.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: las.c,v 1.315 2002/11/24 22:47:06 mast Exp $ + || $Id: las.c,v 1.316 2002/12/09 22:20:09 mast Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.315 2002/11/24 22:47:06 mast Exp $"); + RCSID("$Id: las.c,v 1.316 2002/12/09 22:20:09 mast Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:2065:    case T_ARRAY:    return make_node_from_array(s->u.array);       case T_MULTISET:    return make_node_from_multiset(s->u.multiset);       case T_MAPPING:    return make_node_from_mapping(s->u.mapping);       case T_OBJECT: + #ifdef PIKE_DEBUG +  if (s->u.object->prog == placeholder_program && +  Pike_compiler->compiler_pass == 2) +  Pike_fatal("Got placeholder object in second pass.\n"); + #endif    if(s->u.object == Pike_compiler->fake_object)    {    return mkefuncallnode("this_object", 0);    }    if(s->u.object->next == s->u.object)    {    int x=0;    node *n=mkefuncallnode("this_object", 0);   #ifndef PARENT_INFO    struct object *o;