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.441 2009/11/19 18:49:29 grubba Exp $ + || $Id: las.c,v 1.442 2009/11/20 10:58:09 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"
pike.git/src/las.c:1200:    }    }    res->tree_info = res->node_info;      #ifdef __CHECKER__    _CDR(res) = 0;   #endif    res->u.integer.a = parent_prog->id;    res->u.integer.b = i;    + #if 0    /* Don't do this if res about to get inherited, since the inherit won't    * be affected by later overloading of the inherited class in our parents.    */   /* if (!(Pike_compiler->flags & COMPILATION_FORCE_RESOLVE)) { */    /* Bzot-i-zot */    state = Pike_compiler;    while(parent_prog != state->new_program)    {    state->new_program->flags |= PROGRAM_USES_PARENT | PROGRAM_NEEDS_PARENT;    state=state->previous;    }   /* } */ -  + #endif /* 0 */       return res;   #endif /* 0 */   }      node *debug_mkthisnode(struct program *parent_prog, int inherit_num)   {    struct program_state *state;    node *res;