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.186 2000/07/12 12:38:40 grubba Exp $"); + RCSID("$Id: las.c,v 1.187 2000/07/12 21:57:42 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:928:       check_tree(res,0);    return res;   }      node *debug_mkexternalnode(struct program *parent_prog, int i)   {    node *res = mkemptynode();    struct identifier *id;    res->token = F_EXTERNAL; +  +  id = ID_FROM_INT(parent_prog, i);   #ifdef PIKE_DEBUG    if(d_flag)    {    check_string(id->type);    check_string(id->name);    }   #endif    -  id = ID_FROM_INT(parent_prog, i); -  +     copy_shared_string(res->type, id->type);       /* FIXME */    if(IDENTIFIER_IS_CONSTANT(id->identifier_flags))    {    res->node_info = OPT_EXTERNAL_DEPEND;    }else{    res->node_info = OPT_NOT_CONST;    }    res->tree_info = res->node_info;