From 7ac48969ff2d8a83214f7669be13c405e7951c73 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 4 Oct 2019 14:19:11 +0200 Subject: [PATCH] :art: Improve scan_internal_arg --- src/parse/scan1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.0