Patch 9.0.0107
Problem: Condition always has the same value.
Solution: Remove the condition.
Files: src/userfunc.c
*** ../vim-9.0.0106/src/userfunc.c 2022-06-29 12:54:48.068572061 +0100
--- src/userfunc.c 2022-07-29 19:41:38.033726785 +0100
***************
*** 3997,4006 ****
{
if (vim9script && lead == 2 && !ASCII_ISUPPER(*lv.ll_name))
{
! semsg(_(vim9script
! ? e_function_name_must_start_with_capital_str
! : e_function_name_must_start_with_capital_or_s_str),
! start);
goto theend;
}
lead = 3;
--- 3997,4003 ----
{
if (vim9script && lead == 2 && !ASCII_ISUPPER(*lv.ll_name))
{
! semsg(_(e_function_name_must_start_with_capital_str), start);
goto theend;
}
lead = 3;
*** ../vim-9.0.0106/src/version.c 2022-07-29 18:32:17.468531163 +0100
--- src/version.c 2022-07-29 19:49:59.074163898 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 107,
/**/
--
What is the difference between a professional and an amateur?
The ark was built by an amateur; professionals gave us the Titanic.
/// 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/20220729185138.13C511C0C34%40moolenaar.net.