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.379 2006/10/28 18:17:56 grubba Exp $ + || $Id: las.c,v 1.380 2007/03/05 18:10:40 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:1215:    verify_shared_strings_tables();   #endif       return res;   }      node *debug_mkstrnode(struct pike_string *str)   {    node *res = mkemptynode();    res->token = F_CONSTANT; -  copy_pike_type(res->type, string_type_string); +     res->node_info = 0;    res->u.sval.type = T_STRING;   #ifdef __CHECKER__    res->u.sval.subtype = 0;   #endif    copy_shared_string(res->u.sval.u.string, str); -  +  res->type = get_type_of_svalue(&res->u.sval);    return freeze_node(res);   }      node *debug_mkintnode(INT_TYPE nr)   {    node *res = mkemptynode();    res->token = F_CONSTANT;    res->node_info = 0;    res->u.sval.type = T_INT;    res->u.sval.subtype = NUMBER_NUMBER;