To: vim_dev@googlegroups.com Subject: Patch 9.0.0107 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///