0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.2.1284: Vim9: skipping over type includes following white space

Problem:    Vim9: skipping over type includes following white space, leading
            to an error for missing white space.
Solution:   Do not skip over white space after the type.
This commit is contained in:
Bram Moolenaar
2020-07-23 20:09:10 +02:00
parent 637cd7d1c9
commit bfba8651a5
3 changed files with 13 additions and 1 deletions

View File

@@ -1944,7 +1944,7 @@ skip_type(char_u *start)
if (p[1] == ':')
p = skip_type(skipwhite(p + 2));
else
p = skipwhite(p + 1);
++p;
}
}
else