Skip to content

Commit

Permalink
patch 8.2.4680: build failure without +postscript
Browse files Browse the repository at this point in the history
Problem:    Build failure without +postscript.
Solution:   Use another error message.
  • Loading branch information
brammool committed Apr 3, 2022
1 parent 2b74b68 commit 242c152
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/testdir/test_vim9_import.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ def Test_autoload_import_relative()
delete('XimportRelDel.vim')
DoIt()
END
v9.CheckScriptFailure(lines, 'E456:')
v9.CheckScriptFailure(lines, 'E484:')

delete('XimportRel.vim')
delete('XimportRel2.vim')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4680,
/**/
4679,
/**/
Expand Down
2 changes: 1 addition & 1 deletion src/vim9execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2637,7 +2637,7 @@ exec_instructions(ectx_T *ectx)
if (do_source(si->sn_name, FALSE, DOSO_NONE, NULL)
== FAIL)
{
semsg(_(e_cant_open_file_str_2), si->sn_name);
semsg(_(e_cant_open_file_str), si->sn_name);
goto on_error;
}
}
Expand Down

0 comments on commit 242c152

Please sign in to comment.