summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 550fe8e2b..a72519dc4 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2314,7 +2314,7 @@ eval0(
}
if (eap != NULL)
- eap->nextcmd = check_nextcmd(p);
+ set_nextcmd(eap, p);
return ret;
}
@@ -6173,7 +6173,7 @@ ex_echo(exarg_T *eap)
clear_tv(&rettv);
arg = skipwhite(arg);
}
- eap->nextcmd = check_nextcmd(arg);
+ set_nextcmd(eap, arg);
clear_evalarg(&evalarg, eap);
if (eap->skip)
@@ -6317,7 +6317,7 @@ ex_execute(exarg_T *eap)
if (eap->skip)
--emsg_skip;
- eap->nextcmd = check_nextcmd(arg);
+ set_nextcmd(eap, arg);
}
/*