mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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.
This commit is contained in:
parent
bdc09a18fc
commit
2eae3d24d7
@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
684,
|
||||
/**/
|
||||
683,
|
||||
/**/
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -1876,6 +1876,7 @@ generate_MULT_EXPR(cctx_T *cctx, isntype_T isn_type, int count)
|
||||
{
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user