summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-10 13:24:30 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-10 13:24:30 +0100
commit0abc2871c105882ed1c1effb9a7757fad8a395bd (patch)
tree0377e3f47b0fda6713cc0e8b6426616457e07912 /src/eval.c
parent57ff52677bf5ba1651281ffe40505df8feba4a36 (diff)
downloadvim-git-0abc2871c105882ed1c1effb9a7757fad8a395bd.tar.gz
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/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 4906fa614..ac3c998a5 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3726,13 +3726,13 @@ eval7(
/*
* String constant: "string".
*/
- case '"': ret = eval_string(arg, rettv, evaluate);
+ case '"': ret = eval_string(arg, rettv, evaluate, FALSE);
break;
/*
* Literal string constant: 'str''ing'.
*/
- case '\'': ret = eval_lit_string(arg, rettv, evaluate);
+ case '\'': ret = eval_lit_string(arg, rettv, evaluate, FALSE);
break;
/*