]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4872: Vim9: no error for using an expression only v8.2.4872
authorBram Moolenaar <Bram@vim.org>
Thu, 5 May 2022 15:08:55 +0000 (16:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 May 2022 15:08:55 +0000 (16:08 +0100)
commitea72038d60401d351faaf1b4a52f4537e719df6f
tree3bd55a588657cec8c8efcf26cb1eaa0f69ec784e
parent09d9421b673366e5f6e56fbf74204a1c316fdea2
patch 8.2.4872: Vim9: no error for using an expression only

Problem:    Vim9: no error for using an expression only at the script level
            when followed by an empty line.
Solution:   Do not check the line number but whether something follows.
            (closes #10357)
src/ex_eval.c
src/testdir/test_vim9_cmd.vim
src/version.c