pike.git / src / las.c

version» Context lines:

pike.git/src/las.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" - RCSID("$Id: las.c,v 1.242 2002/11/19 14:00:14 mast Exp $"); + RCSID("$Id: las.c,v 1.243 2003/03/21 12:23:28 grubba 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:828:    }   #endif /* PIKE_DEBUG && SHARED_NODES */    return n;   }      /* here starts routines to make nodes */   static node *debug_mkemptynode(void)   {    node *res=alloc_node_s();    - #ifdef SHARED_NODES + #if defined(SHARED_NODES) || defined(__CHECKER__)    MEMSET(res, 0, sizeof(node)); -  + #ifdef SHARED_NODES    res->hash = 0;    res->refs = 1;   #endif /* SHARED_NODES */ -  + #endif /* SHARED_NODES || __CHECKER__ */       res->token=0;    res->line_number=lex.current_line;   #ifdef PIKE_DEBUG    copy_shared_string(res->current_file, lex.current_file);   #endif    res->type=0;    res->name=0;    res->node_info=0;    res->tree_info=0;
pike.git/src/las.c:2641:   #endif /* PIKE_DEBUG */    *find_q(&(p->externals), n->u.id.number,    Pike_compiler->new_program->id) = VAR_USED;    }    break;       case F_APPLY:    if(n->tree_info & OPT_SIDE_EFFECT) {    p->ext_flags = VAR_USED;    } +  find_written_vars(CAR(n), p, 0); +  find_written_vars(CDR(n), p, 0);    break;       case F_INDEX:    case F_ARROW:    find_written_vars(CAR(n), p, lvalue);    find_written_vars(CDR(n), p, 0);    break;       case F_INC:    case F_DEC: