Patch 8.2.4604
Problem:    Error for redefining a script item may be confusing.
Solution:   Put quotes around the name.
Files:      src/errors.h


*** ../vim-8.2.4603/src/errors.h        2022-03-16 20:01:10.429458496 +0000
--- src/errors.h        2022-03-21 11:52:54.523767720 +0000
***************
*** 2715,2721 ****
        INIT(= N_("E1040: Cannot use :scriptversion after :vim9script"));
  #ifdef FEAT_EVAL
  EXTERN char e_redefining_script_item_str[]
!       INIT(= N_("E1041: Redefining script item %s"));
  EXTERN char e_export_can_only_be_used_in_vim9script[]
        INIT(= N_("E1042: Export can only be used in vim9script"));
  EXTERN char e_invalid_command_after_export[]
--- 2715,2721 ----
        INIT(= N_("E1040: Cannot use :scriptversion after :vim9script"));
  #ifdef FEAT_EVAL
  EXTERN char e_redefining_script_item_str[]
!       INIT(= N_("E1041: Redefining script item: \"%s\""));
  EXTERN char e_export_can_only_be_used_in_vim9script[]
        INIT(= N_("E1042: Export can only be used in vim9script"));
  EXTERN char e_invalid_command_after_export[]
*** ../vim-8.2.4603/src/version.c       2022-03-21 19:45:13.200420997 +0000
--- src/version.c       2022-03-21 19:47:00.232608075 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4604,
  /**/

-- 
Not too long ago, cut and paste was done with scissors and glue...

 /// 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/20220321194759.1B05E1C783D%40moolenaar.net.

Raspunde prin e-mail lui