From 4e6882d3690f48bbd7c9823db0fb555b65a0dae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 14 Feb 2000 19:09:17 -0800 Subject: [PATCH] bugfix for the bugfix Rev: src/las.c:1.164 --- src/las.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/las.c b/src/las.c index c8ee69b937..f665d4dde5 100644 --- a/src/las.c +++ b/src/las.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: las.c,v 1.163 2000/02/15 02:41:26 hubbe Exp $"); +RCSID("$Id: las.c,v 1.164 2000/02/15 03:09:17 hubbe Exp $"); #include "language.h" #include "interpret.h" @@ -1327,7 +1327,11 @@ node *debug_mkconstantsvaluenode(struct svalue *s) if(s->type == T_OBJECT || (s->type==T_FUNCTION && s->subtype!=FUNCTION_BUILTIN)) { - res->node_info|=OPT_EXTERNAL_DEPEND; + /* Is it in a fake object? */ + if( s->u.object->next == s->u.object) + { + res->node_info|=OPT_EXTERNAL_DEPEND; + } } res->type = get_type_of_svalue(s); return freeze_node(res); -- GitLab