commit | 1fc6ea9bf3548b578676331f5eac1f7e0611c268 | [log] [tgz] |
---|---|---|
author | Yegappan Lakshmanan <yegappan@yahoo.com> | Thu Apr 21 23:30:15 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 21 23:30:15 2022 +0100 |
tree | cbbabd2cece75b8657356b2b1716372daeee94ce | |
parent | 66e13aedc7986c83644d537a8fdd3cb006507678 [diff] [blame] |
patch 8.2.4804: expression in heredoc doesn't work for compiled function Problem: Expression in heredoc doesn't work for compiled function. Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan, closes #10232)
diff --git a/src/ex_getln.c b/src/ex_getln.c index c351cf2..a97024b 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -4605,7 +4605,7 @@ return NULL; cmd += 2; - l = heredoc_get(eap, cmd, TRUE); + l = heredoc_get(eap, cmd, TRUE, FALSE); if (l == NULL) return NULL;