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.416 2008/05/31 12:21:41 grubba Exp $ + || $Id: las.c,v 1.417 2008/06/02 13:30:05 mast 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:1880:         /* FIXME: Ought to use parent pointer to avoid recursion.    * In the SHARED_NODES case there's no need of course.    */   node *copy_node(node *n)   {    node *b;    debug_malloc_touch(n);    debug_malloc_touch(n->type); + #if 0 +  /* The following needs to be node type specific. */    debug_malloc_touch(n->u.node.a);    debug_malloc_touch(n->u.node.b); -  + #endif    check_tree(n,0);    if(!n) return n;    switch(n->token)    {    case F_LOCAL:    case F_IDENTIFIER:    case F_TRAMPOLINE:    b=mknewintnode(0);    if(b->type) free_type(b->type);    *b=*n;