From 436b5adc9770a2568209dd5ab1f98bd1afc91898 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 31 Dec 2021 22:49:24 +0000 Subject: patch 8.2.3961: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h. --- src/debugger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/debugger.c') diff --git a/src/debugger.c b/src/debugger.c index 57a94a180..54bf6ba87 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -594,7 +594,7 @@ dbg_parsearg( bp->dbg_type = DBG_EXPR; else { - semsg(_(e_invarg2), p); + semsg(_(e_invalid_argument_str), p); return FAIL; } p = skipwhite(p + 4); @@ -619,7 +619,7 @@ dbg_parsearg( || (here && *p != NUL) || (bp->dbg_type == DBG_FUNC && strstr((char *)p, "()") != NULL)) { - semsg(_(e_invarg2), arg); + semsg(_(e_invalid_argument_str), arg); return FAIL; } -- cgit v1.2.1