diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-25 16:11:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-25 16:11:53 +0100 |
commit | 7cfcd0c99c485a973d8cbff939531e430ad77f55 (patch) | |
tree | 0bb0711871397386dadd643eb28098f3386729be | |
parent | c754b4cc98253e1935d3ea5790bc60869c7bc091 (diff) | |
download | vim-git-8.2.2213.tar.gz |
patch 8.2.2213: checking white space around -> is not backwards compatiblev8.2.2213
Problem: Checking white space around -> is not backwards compatible.
Solution: Only check white space around =>.
-rw-r--r-- | src/userfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index ea6fa10d8..2bae9ef90 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -570,7 +570,7 @@ get_lambda_tv( &varargs, NULL, FALSE, NULL, NULL); if (ret == FAIL || (s = skip_arrow(*arg, equal_arrow, &ret_type, - &white_error)) == NULL) + equal_arrow ? &white_error : NULL)) == NULL) { if (types_optional) ga_clear_strings(&argtypes); diff --git a/src/version.c b/src/version.c index 75a1e4b2d..2a85bb326 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2213, +/**/ 2212, /**/ 2211, |