Patch 9.0.0811
Problem:    Error if :echowin is preceded by a command modifier.
Solution:   Do not give an error for range when there is a modifier.
            (closes #11414)
Files:      src/vim9compile.c, src/testdir/test_vim9_script.vim


*** ../vim-9.0.0810/src/vim9compile.c   2022-10-13 16:12:51.744207021 +0100
--- src/vim9compile.c   2022-10-21 11:56:45.854265466 +0100
***************
*** 2712,2719 ****
        ;
      if (!isdigit(*p))
      {
!       // the command must be following
!       if (p < eap->cmd)
        {
            emsg(_(e_invalid_range));
            return -1;
--- 2712,2720 ----
        ;
      if (!isdigit(*p))
      {
!       // The command or modifiers must be following.  Assume a lower case
!       // character means there is a modifier.
!       if (p < eap->cmd && !vim_islower(*p))
        {
            emsg(_(e_invalid_range));
            return -1;
*** ../vim-9.0.0810/src/testdir/test_vim9_script.vim    2022-10-13 
16:12:51.748207004 +0100
--- src/testdir/test_vim9_script.vim    2022-10-21 11:58:43.434287180 +0100
***************
*** 2032,2037 ****
--- 2032,2041 ----
  def Test_echowindow_cmd()
    var local = 'local'
    echowindow 'something' local # comment
+ 
+   # with modifier
+   unsilent echowin 'loud'
+ 
    # output goes in message window
    popup_clear()
  enddef
*** ../vim-9.0.0810/src/version.c       2022-10-21 11:25:25.689652476 +0100
--- src/version.c       2022-10-21 12:00:04.670305371 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     811,
  /**/

-- 
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of Camelot.
        King of all Britons, defeator of the Saxons, sovereign of all England!
   [Pause]
SOLDIER: Get away!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20221021110622.365E81C0762%40moolenaar.net.

Raspunde prin e-mail lui