Patch 8.2.1530

4 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 27, 2020, 5:38:05 PM8/27/20
to vim...@googlegroups.com

Patch 8.2.1530
Problem: Vim9: test fails on MS-Windows.
Solution: Skip Ex command inside "if false".
Files: src/vim9compile.c


*** ../vim-8.2.1529/src/vim9compile.c 2020-08-27 23:08:38.274559889 +0200
--- src/vim9compile.c 2020-08-27 23:35:49.176776905 +0200
***************
*** 6879,6887 ****
break;

default:
! // Not recognized, execute with do_cmdline_cmd().
! ea.arg = p;
! line = compile_exec(line, &ea, &cctx);
break;
}
nextline:
--- 6879,6895 ----
break;

default:
! if (cctx.ctx_skip == SKIP_YES)
! {
! // We don't check for a next command here.
! line = (char_u *)"";
! }
! else
! {
! // Not recognized, execute with do_cmdline_cmd().
! ea.arg = p;
! line = compile_exec(line, &ea, &cctx);
! }
break;
}
nextline:
*** ../vim-8.2.1529/src/version.c 2020-08-27 23:08:38.278559875 +0200
--- src/version.c 2020-08-27 23:36:55.984538835 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1530,
/**/

--
Facepalm statement #6: "Estland is a fantasy place, just like Middle Earth and
Madagaskar"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages