pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.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: encode.c,v 1.259 2008/02/14 17:46:18 grubba Exp $ + || $Id: encode.c,v 1.260 2008/02/14 18:03:08 grubba Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"
pike.git/src/encode.c:1441:    /* Found the symbol. */    gs_flags = PTR_FROM_INT(p, i)->id_flags;    }    free_string(symbol);    }    }       if (IDENTIFIER_IS_ALIAS(id->identifier_flags)) {    if ((!id->func.ext_ref.depth) &&    IDENTIFIER_IS_VARIABLE(id->identifier_flags)) { +  struct identifier *other = +  ID_FROM_INT(p, id->func.ext_ref.id); +  if (other->name == id->name) {    /* Let define_variable() handle the decoding. */ -  EDB(3, fprintf(stderr, "%*sencode: encoding aliased variable\n", data->depth, "")); +  EDB(3, fprintf(stderr, +  "%*sencode: encoding aliased variable\n", +  data->depth, ""));    goto encode_entry_variable;    } -  +  }    EDB(3, fprintf(stderr, "%*sencode: encoding alias\n",    data->depth, ""));       code_number(ID_ENTRY_ALIAS, data);       /* flags */    code_number(ref->id_flags, data);       /* name */    str_sval.u.string = id->name;