summaryrefslogtreecommitdiff
path: root/src/vim9script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9script.c')
-rw-r--r--src/vim9script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9script.c b/src/vim9script.c
index 72c70883d..ad0830fa2 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -83,7 +83,7 @@ ex_vim9script(exarg_T *eap UNUSED)
}
if (!IS_WHITE_OR_NUL(*eap->arg) && STRCMP(eap->arg, "noclear") != 0)
{
- semsg(_(e_invarg2), eap->arg);
+ semsg(_(e_invalid_argument_str), eap->arg);
return;
}
if (si->sn_state == SN_STATE_RELOAD && IS_WHITE_OR_NUL(*eap->arg))
@@ -771,7 +771,7 @@ vim9_declare_scriptvar(exarg_T *eap, char_u *arg)
// Check for valid starting character.
if (!eval_isnamec1(*arg))
{
- semsg(_(e_invarg2), arg);
+ semsg(_(e_invalid_argument_str), arg);
return arg + STRLEN(arg);
}