diff src/vim9execute.c @ 20289:208b38bddc36 v8.2.0700

patch 8.2.0700: Vim9: converting error message to exception not tested Commit: https://github.com/vim/vim/commit/40ee466c361b9698c2a452a36ff4d6c6e5382ed0 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 5 22:08:26 2020 +0200 patch 8.2.0700: Vim9: converting error message to exception not tested Problem: Vim9: converting error message to exception not tested. Solution: Test exception from error. Do not continue after :echoerr.
author Bram Moolenaar <Bram@vim.org>
date Tue, 05 May 2020 22:15:04 +0200
parents ce1b73835822
children bc2c9ea94ec1
line wrap: on
line diff
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -898,14 +898,8 @@ call_def_function(
 			    }
 			    else
 			    {
-				int		save_did_emsg = did_emsg;
-
 				SOURCING_LNUM = iptr->isn_lnum;
 				emsg(ga.ga_data);
-				if (!force_abort)
-				    // We don't want to abort following
-				    // commands, restore did_emsg.
-				    did_emsg = save_did_emsg;
 			    }
 			}
 		    }