From: Bram Moolenaar Date: Fri, 25 Dec 2020 15:11:53 +0000 (+0100) Subject: patch 8.2.2213: checking white space around -> is not backwards compatible X-Git-Tag: v8.2.2213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cfcd0c99c485a973d8cbff939531e430ad77f55;p=vim patch 8.2.2213: checking white space around -> is not backwards compatible Problem: Checking white space around -> is not backwards compatible. Solution: Only check white space around =>. --- 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 @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2213, /**/ 2212, /**/