diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-10 13:24:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-10 13:24:30 +0100 |
commit | 0abc2871c105882ed1c1effb9a7757fad8a395bd (patch) | |
tree | 0377e3f47b0fda6713cc0e8b6426616457e07912 /src/dict.c | |
parent | 57ff52677bf5ba1651281ffe40505df8feba4a36 (diff) |
patch 8.2.4930: interpolated string expression requires escapingv8.2.4930
Problem: Interpolated string expression requires escaping.
Solution: Do not require escaping in the expression.
Diffstat (limited to 'src/dict.c')
-rw-r--r-- | src/dict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dict.c b/src/dict.c index 88cc4b3fc8..538dd8ba26 100644 --- a/src/dict.c +++ b/src/dict.c @@ -866,13 +866,13 @@ get_literal_key(char_u **arg) if (**arg == '\'') { - if (eval_lit_string(arg, &rettv, TRUE) == FAIL) + if (eval_lit_string(arg, &rettv, TRUE, FALSE) == FAIL) return NULL; key = rettv.vval.v_string; } else if (**arg == '"') { - if (eval_string(arg, &rettv, TRUE) == FAIL) + if (eval_string(arg, &rettv, TRUE, FALSE) == FAIL) return NULL; key = rettv.vval.v_string; } |