commit | ea72038d60401d351faaf1b4a52f4537e719df6f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 05 16:08:55 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 05 16:08:55 2022 +0100 |
tree | 3bd55a588657cec8c8efcf26cb1eaa0f69ec784e | |
parent | 09d9421b673366e5f6e56fbf74204a1c316fdea2 [diff] [blame] |
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)
diff --git a/src/version.c b/src/version.c index f0269e4..5ad7551 100644 --- a/src/version.c +++ b/src/version.c
@@ -747,6 +747,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4872, +/**/ 4871, /**/ 4870,