From: fennecdjay Date: Fri, 4 Oct 2019 13:34:56 +0000 (+0200) Subject: :art: Use correct argument type X-Git-Tag: nightly~2198^2~137 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=46a3d678a04faf47c1bd52d579a42b23848017d2;p=gwion.git :art: Use correct argument type --- diff --git a/src/parse/scan1.c b/src/parse/scan1.c index 29b1efc8..022d2830 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -368,7 +368,7 @@ ANN static inline m_bool scan_internal_int(const Env env, const Func_Base *base) CHECK_BB(scan_internal_arg(env, base)) if(isa(base->ret_type, env->gwion->type[et_int]) > 0) return GW_OK; - ERR_B(td_pos(base->td), _("'%s' must must return 'int'"), base->xid) + ERR_B(td_pos(base->td), _("'%s' must must return 'int'"), s_name(base->xid)) } ANN static m_bool scan_internal(const Env env, const Func_Base *base) {