changeset 28309:62689b6765d6 v8.2.4680

patch 8.2.4680: build failure without +postscript Commit: https://github.com/vim/vim/commit/242c152c08edbfaf17e8ae0b5d82841beabfa21a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 3 21:52:51 2022 +0100 patch 8.2.4680: build failure without +postscript Problem: Build failure without +postscript. Solution: Use another error message.
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 Apr 2022 23:00:03 +0200
parents 5c4fab734b9a
children c0bd4e26210e
files src/testdir/test_vim9_import.vim src/version.c src/vim9execute.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -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')
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4680,
+/**/
     4679,
 /**/
     4678,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -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;
 			}
 		    }