Problem: Skipped :exe command fails compilation on MS-Windows.
Solution: Adjust return value when skipping.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 684,
/**/
683,
/**/
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);
}
{
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;