comparison runtime/doc/eval.txt @ 28560:060fc3b69697 v8.2.4804

patch 8.2.4804: expression in heredoc doesn't work for compiled function Commit: https://github.com/vim/vim/commit/1fc6ea9bf3548b578676331f5eac1f7e0611c268 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Apr 21 23:30:15 2022 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Apr 2022 00:45:04 +0200
parents f73a9bdff3a3
children 723c7d940cba
comparison
equal deleted inserted replaced
28559:a9388feb437d 28560:060fc3b69697
3245 < There can be multiple Vim expressions in a single line 3245 < There can be multiple Vim expressions in a single line
3246 but an expression cannot span multiple lines. If any 3246 but an expression cannot span multiple lines. If any
3247 expression evaluation fails, then the assignment fails. 3247 expression evaluation fails, then the assignment fails.
3248 once the "`=" has been found {expr} and a backtick 3248 once the "`=" has been found {expr} and a backtick
3249 must follow. {expr} cannot be empty. 3249 must follow. {expr} cannot be empty.
3250 Currenty, in a compiled function {expr} is evaluated
3251 when compiling the function, THIS WILL CHANGE.
3252 3250
3253 {endmarker} must not contain white space. 3251 {endmarker} must not contain white space.
3254 {endmarker} cannot start with a lower case character. 3252 {endmarker} cannot start with a lower case character.
3255 The last line should end only with the {endmarker} 3253 The last line should end only with the {endmarker}
3256 string without any other character. Watch out for 3254 string without any other character. Watch out for