summaryrefslogtreecommitdiff
path: root/src/vim9class.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9class.c')
-rw-r--r--src/vim9class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9class.c b/src/vim9class.c
index 484500576..d64e35ec0 100644
--- a/src/vim9class.c
+++ b/src/vim9class.c
@@ -423,7 +423,7 @@ early_ret:
char *wrong_name = is_class ? "endinterface" : "endclass";
if (checkforcmd(&p, wrong_name, is_class ? 5 : 4))
{
- semsg(_(e_invalid_command_str), line);
+ semsg(_(e_invalid_command_str_expected_str), line, end_name);
break;
}