From 7cfcd0c99c485a973d8cbff939531e430ad77f55 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 25 Dec 2020 16:11:53 +0100 Subject: [PATCH] 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 =>. --- src/userfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1