From 094861dffcc776b28a2dbf4fdd23fe08622cfcd0 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 11 Nov 2020 00:24:43 +0100 Subject: [PATCH] :art: More const, again --- src/parse/func_resolve_tmpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/func_resolve_tmpl.c b/src/parse/func_resolve_tmpl.c index 374d8170..ffeea7f3 100644 --- a/src/parse/func_resolve_tmpl.c +++ b/src/parse/func_resolve_tmpl.c @@ -30,7 +30,7 @@ ANN static inline Value template_get_ready(const Env env, const Value v, const m } ANN static m_bool check_call(const Env env, const Exp_Call* exp) { - ae_exp_t et = exp->func->exp_type; + const ae_exp_t et = exp->func->exp_type; if(et != ae_exp_primary && et != ae_exp_dot && et != ae_exp_cast) ERR_B(exp->func->pos, _("invalid expression for function call.")) CHECK_OB(check_exp(env, exp->func)) -- 2.43.0