1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2022-05-05 16:08:55 +01:00
parent 09d9421b67
commit ea72038d60
3 changed files with 23 additions and 1 deletions

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4872,
/**/
4871,
/**/