0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4680: build failure without +postscript

Problem:    Build failure without +postscript.
Solution:   Use another error message.
This commit is contained in:
Bram Moolenaar
2022-04-03 21:52:51 +01:00
parent 2b74b6805b
commit 242c152c08
3 changed files with 4 additions and 2 deletions

View File

@@ -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')

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4680,
/**/
4679,
/**/

View File

@@ -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;
}
}