]> Nishi Git Mirror - gwion.git/commitdiff
:art: no new line for include
authorfennecdjay <fennecdjay@gmail.com>
Mon, 30 Jan 2023 23:44:58 +0000 (00:44 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Mon, 30 Jan 2023 23:44:58 +0000 (00:44 +0100)
fmt
src/parse/check_traits.c

diff --git a/fmt b/fmt
index e8033229e01b1e08b4e293ff80655e4557753a74..16957e8f5cf9ab8bea486b95fa372b8e111cbcf3 160000 (submodule)
--- a/fmt
+++ b/fmt
@@ -1 +1 @@
-Subproject commit e8033229e01b1e08b4e293ff80655e4557753a74
+Subproject commit 16957e8f5cf9ab8bea486b95fa372b8e111cbcf3
index 8b8c52f5334335e2be18da3c0ab155528065c55a..e06d08ba194b7bb4e4e4dd31cebd38b3fba8f66a 100644 (file)
@@ -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);