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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202008272137.07RLbvnf2069992%40masaka.moolenaar.net.

Raspunde prin e-mail lui