From: fennecdjay Date: Mon, 30 Jan 2023 23:44:58 +0000 (+0100) Subject: :art: no new line for include X-Git-Tag: nightly~205^2~8 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=34b11b1bf0f51ffc19321a36e534dc73348045d2;p=gwion.git :art: no new line for include --- diff --git a/fmt b/fmt index e8033229..16957e8f 160000 --- a/fmt +++ b/fmt @@ -1 +1 @@ -Subproject commit e8033229e01b1e08b4e293ff80655e4557753a74 +Subproject commit 16957e8f5cf9ab8bea486b95fa372b8e111cbcf3 diff --git a/src/parse/check_traits.c b/src/parse/check_traits.c index 8b8c52f5..e06d08ba 100644 --- a/src/parse/check_traits.c +++ b/src/parse/check_traits.c @@ -148,7 +148,7 @@ ANN static bool request_fun(const Env env, const Type t, if(!env->context->error) { gwerr_basic_from("is missing {+G}global{0}", NULL, NULL, v->from, 0); gwerr_secondary("from requested func", env->name, request->base->pos); - env->context->error = true; + env_set_error(env, true); } } else gwerr_basic("missing requested function", NULL, NULL, env->name, request->base->pos, 0);