To: vim_dev@googlegroups.com Subject: Patch 8.2.1530 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///