From: fennecdjay Date: Mon, 29 Jan 2024 22:52:46 +0000 (+0100) Subject: :art: use actual loc in ref.c X-Git-Tag: nightly~120 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c020f1a03db7071728e4fd3af29ef55371c8b79b;p=gwion.git :art: use actual loc in ref.c --- diff --git a/src/lib/ref.c b/src/lib/ref.c index 8b6f7c2a..3d87e42c 100644 --- a/src/lib/ref.c +++ b/src/lib/ref.c @@ -164,7 +164,7 @@ static OP_CHECK(opck_ref_scan) { set_tflag(t, tflag_ref); const m_uint scope = env_push(env, base->info->value->from->owner_class, base->info->value->from->owner); - mk_class(env, t, (loc_t) {}); + mk_class(env, t, ts->td->tag.loc); base2ref(env, base, t); ref2base(env, t, base); ref2ref(env, t, t);