commit | bfba8651a51b66fdc52848f32c77aa925586e250 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 20:09:10 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 20:09:10 2020 +0200 |
tree | 133adb26773b341ecd479f56b1940ea587d00765 | |
parent | 637cd7d1c9fa0ee47951ccdc310a388cb7ecfada [diff] [blame] |
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.
diff --git a/src/vim9compile.c b/src/vim9compile.c index 3be8733..e032e23 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -1944,7 +1944,7 @@ if (p[1] == ':') p = skip_type(skipwhite(p + 2)); else - p = skipwhite(p + 1); + ++p; } } else