From: fennecdjay Date: Fri, 4 Oct 2019 12:19:11 +0000 (+0200) Subject: :art: Improve scan_internal_arg X-Git-Tag: nightly~2198^2~149 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7ac48969ff2d8a83214f7669be13c405e7951c73;p=gwion.git :art: Improve scan_internal_arg --- diff --git a/src/parse/scan1.c b/src/parse/scan1.c index a6f31899..29b1efc8 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -361,7 +361,7 @@ ANN static m_bool class_internal(const Env env, const Func_Base *base) { ANN static inline m_bool scan_internal_arg(const Env env, const Func_Base *base) { if(base->args && !base->args->next) return GW_OK; - ERR_B(td_pos(base->td), _("'%s' must have one (and only one) argument"), base->xid) + ERR_B(td_pos(base->td), _("'%s' must have one (and only one) argument"), s_name(base->xid)) } ANN static inline m_bool scan_internal_int(const Env env, const Func_Base *base) {