diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-05-11 15:02:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-11 15:02:56 +0100 |
commit | f9dc278946d52235a0025fd347bd9ff571258470 (patch) | |
tree | e070d19d15b319f8f154cb0d24db48f00e49aaad /src/optionstr.c | |
parent | 4ce1bda869e4ec0152d7dcbe1e491ceac5341d5e (diff) |
patch 9.0.1540: reverse() on string doesn't work in compiled functionv9.0.1540
Problem: reverse() on string doesn't work in compiled function.
Solution: Accept string in argument type check. (Yegappan Lakshmanan,
closes #12377)
Diffstat (limited to 'src/optionstr.c')
-rw-r--r-- | src/optionstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionstr.c b/src/optionstr.c index 311b069d27..cfbcf3acba 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -134,7 +134,7 @@ didset_string_options(void) (void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE); } -#if defined(FEAT_EVAL) +#if defined(FEAT_EVAL) || defined(PROTO) /* * Trigger the OptionSet autocommand. * "opt_idx" is the index of the option being set. |