pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-02-14
2008-02-14 18:03:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ca553a738ff0a51640717b3fb3e0dc210722000d (
15
lines) (+
11
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Improved fix.
Rev: src/encode.c:1.260
2:
|| 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"
1448:
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, ""));