aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r--src/nvim/debugger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c
index aeaf2555b1..9657e903d1 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -496,7 +496,7 @@ static int dbg_parsearg(char_u *arg, garray_T *gap)
bp->dbg_type = DBG_FILE;
} else if (gap != &prof_ga && STRNCMP(p, "here", 4) == 0) {
if (curbuf->b_ffname == NULL) {
- EMSG(_(e_noname));
+ emsg(_(e_noname));
return FAIL;
}
bp->dbg_type = DBG_FILE;
@@ -504,7 +504,7 @@ static int dbg_parsearg(char_u *arg, garray_T *gap)
} else if (gap != &prof_ga && STRNCMP(p, "expr", 4) == 0) {
bp->dbg_type = DBG_EXPR;
} else {
- EMSG2(_(e_invarg2), p);
+ semsg(_(e_invarg2), p);
return FAIL;
}
p = skipwhite(p + 4);
@@ -523,7 +523,7 @@ static int dbg_parsearg(char_u *arg, garray_T *gap)
if ((!here && *p == NUL)
|| (here && *p != NUL)
|| (bp->dbg_type == DBG_FUNC && strstr((char *)p, "()") != NULL)) {
- EMSG2(_(e_invarg2), arg);
+ semsg(_(e_invarg2), arg);
return FAIL;
}
@@ -661,7 +661,7 @@ void ex_breakdel(exarg_T *eap)
}
if (todel < 0) {
- EMSG2(_("E161: Breakpoint not found: %s"), eap->arg);
+ semsg(_("E161: Breakpoint not found: %s"), eap->arg);
} else {
while (!GA_EMPTY(gap)) {
xfree(DEBUGGY(gap, todel).dbg_name);