diff options
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r-- | src/vim9execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c index b882c4d111..73896cb7af 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -2337,7 +2337,7 @@ exec_instructions(ectx_T *ectx) else if (dest_type == VAR_LIST && tv_idx->v_type != VAR_NUMBER) { - emsg(_(e_number_exp)); + emsg(_(e_number_expected)); status = FAIL; } } @@ -3955,7 +3955,7 @@ exec_instructions(ectx_T *ectx) ) { SOURCING_LNUM = iptr->isn_lnum; - emsg(_(e_number_exp)); + emsg(_(e_number_expected)); goto on_error; } #ifdef FEAT_FLOAT |