# HG changeset patch # User Bram Moolenaar # Date 1665152103 -7200 # Node ID f60315945f4aa320f2ea2e2e093a248034c2c7a8 # Parent 557ad7615a24354bc12d592d7850d159225abc92 patch 9.0.0684: skipped :exe command fails compilation on MS-Windows Commit: https://github.com/vim/vim/commit/2eae3d24d7fe8beed64652bc5c1cbddd09dafc9a Author: Bram Moolenaar 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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 684, +/**/ 683, /**/ 682, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -3339,7 +3339,9 @@ compile_def_function( case CMD_echowindow: { long cmd_count = get_cmd_count(line, &ea); - if (cmd_count >= 0) + if (cmd_count < 0) + line = NULL; + else line = compile_mult_expr(p, ea.cmdidx, cmd_count, &cctx); } diff --git a/src/vim9instr.c b/src/vim9instr.c --- 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;