From: Jérémie Astor Date: Mon, 18 Apr 2022 08:22:33 +0000 (+0200) Subject: :bug: small fix X-Git-Tag: nightly~299 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=cc9b259488ed729120d5b3f56d6f9cdaa0356bd5;p=gwion.git :bug: small fix --- diff --git a/src/compile.c b/src/compile.c index 8bcfbee6..5a0e380d 100644 --- a/src/compile.c +++ b/src/compile.c @@ -103,7 +103,7 @@ ANN static inline m_bool _passes(struct Gwion_ *gwion, struct Compiler *c) { ANN static inline m_bool passes(struct Gwion_ *gwion, struct Compiler *c) { const Env env = gwion->env; const Context ctx = new_context(env->gwion->mp, c->ast, env->name); -ctx->locale = nspc_lookup_value1(gwion->env->global_nspc, insert_symbol(gwion->st, "@DefaultLocale"))->d.func_ref; +//ctx->locale = nspc_lookup_value1(gwion->env->global_nspc, insert_symbol(gwion->st, "@DefaultLocale"))->d.func_ref; env_reset(env); load_context(ctx, env); const m_bool ret = _passes(gwion, c);