Patch 8.2.4519
Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution: Require using ":finish".
Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
*** ../vim-8.2.4518/src/ex_cmds.h 2022-03-05 20:24:36.895308699 +0000
--- src/ex_cmds.h 2022-03-06 14:47:31.207001958 +0000
***************
*** 630,636 ****
EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE,
ADDR_NONE),
EXCMD(CMD_finish, "finish", ex_finish,
! EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
ADDR_NONE),
EXCMD(CMD_first, "first", ex_rewind,
EX_EXTRA|EX_BANG|EX_CMDARG|EX_ARGOPT|EX_TRLBAR,
--- 630,636 ----
EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE,
ADDR_NONE),
EXCMD(CMD_finish, "finish", ex_finish,
! EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE,
ADDR_NONE),
EXCMD(CMD_first, "first", ex_rewind,
EX_EXTRA|EX_BANG|EX_CMDARG|EX_ARGOPT|EX_TRLBAR,
*** ../vim-8.2.4518/src/testdir/test_vim9_script.vim 2022-03-05
20:24:36.899308689 +0000
--- src/testdir/test_vim9_script.vim 2022-03-06 14:49:02.027014455 +0000
***************
*** 3400,3405 ****
--- 3400,3407 ----
'expor',
'fina',
'finall',
+ 'fini',
+ 'finis',
'imp',
'impo',
'impor',
*** ../vim-8.2.4518/src/version.c 2022-03-06 14:27:06.495895690 +0000
--- src/version.c 2022-03-06 14:48:35.791012937 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4519,
/**/
--
Rule #1: Don't give somebody a tool that he's going to hurt himself with.
/// 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/20220306145205.61AE41C0092%40moolenaar.net.