summaryrefslogtreecommitdiff
path: root/src/vim9instr.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/vim9instr.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/vim9instr.c')
-rw-r--r--src/vim9instr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim9instr.c b/src/vim9instr.c
index 93ac062a3..edc5db045 100644
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -726,6 +726,8 @@ generate_PUSHF(cctx_T *cctx, float_T fnumber)
/*
* Generate an ISN_PUSHS instruction.
* Consumes "*str". When freed *str is set to NULL, unless "str" is NULL.
+ * Note that if "str" is used in the instruction OK is returned and "*str" is
+ * not set to NULL.
*/
int
generate_PUSHS(cctx_T *cctx, char_u **str)