diff src/vim9instr.c @ 30699:f60315945f4a v9.0.0684

patch 9.0.0684: skipped :exe command fails compilation on MS-Windows Commit: https://github.com/vim/vim/commit/2eae3d24d7fe8beed64652bc5c1cbddd09dafc9a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 7 15:09:27 2022 +0100 patch 9.0.0684: skipped :exe command fails compilation on MS-Windows Problem: Skipped :exe command fails compilation on MS-Windows. Solution: Adjust return value when skipping.
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Oct 2022 16:15:03 +0200
parents d914a3812d5b
children 030bdef24446
line wrap: on
line diff
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -1876,6 +1876,7 @@ generate_MULT_EXPR(cctx_T *cctx, isntype
 {
     isn_T	*isn;
 
+    RETURN_OK_IF_SKIP(cctx);
     if ((isn = generate_instr_drop(cctx, isn_type, count)) == NULL)
 	return FAIL;
     isn->isn_arg.number = count;