]> granicus.if.org Git - vim/commit
patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc. v8.2.2951
authorBram Moolenaar <Bram@vim.org>
Sun, 6 Jun 2021 15:02:53 +0000 (17:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 6 Jun 2021 15:02:53 +0000 (17:02 +0200)
commit2067733b5c76e996238af938af36b8196366b7ce
tree07c435f04c6f6747e9abfe8e796a6c648cb687d1
parentc64ed2b714e605930e7c4102d4e80a2b1d9ff9bf
patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc.

Problem:    Vim9: cannot use heredoc in :def function for :python, :lua, etc.
Solution:   Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
            instruction.
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c
src/vim9.h
src/vim9compile.c
src/vim9execute.c