Mercurial > vim
comparison src/optionstr.c @ 32417:3c2c1cb61004 v9.0.1540
patch 9.0.1540: reverse() on string doesn't work in compiled function
Commit: https://github.com/vim/vim/commit/f9dc278946d52235a0025fd347bd9ff571258470
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu May 11 15:02:56 2023 +0100
patch 9.0.1540: reverse() on string doesn't work in compiled function
Problem: reverse() on string doesn't work in compiled function.
Solution: Accept string in argument type check. (Yegappan Lakshmanan,
closes #12377)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 May 2023 16:15:08 +0200 |
parents | 3d4e28569a6d |
children | bb5458706799 |
comparison
equal
deleted
inserted
replaced
32416:06997bf5e6a8 | 32417:3c2c1cb61004 |
---|---|
132 (void)opt_strings_flags(p_tbis, p_tbis_values, &tbis_flags, FALSE); | 132 (void)opt_strings_flags(p_tbis, p_tbis_values, &tbis_flags, FALSE); |
133 #endif | 133 #endif |
134 (void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE); | 134 (void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE); |
135 } | 135 } |
136 | 136 |
137 #if defined(FEAT_EVAL) | 137 #if defined(FEAT_EVAL) || defined(PROTO) |
138 /* | 138 /* |
139 * Trigger the OptionSet autocommand. | 139 * Trigger the OptionSet autocommand. |
140 * "opt_idx" is the index of the option being set. | 140 * "opt_idx" is the index of the option being set. |
141 * "opt_flags" can be OPT_LOCAL etc. | 141 * "opt_flags" can be OPT_LOCAL etc. |
142 * "oldval" the old value | 142 * "oldval" the old value |