0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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 =>.
This commit is contained in:
Bram Moolenaar
2020-12-25 16:11:53 +01:00
parent c754b4cc98
commit 7cfcd0c99c
2 changed files with 3 additions and 1 deletions

View File

@@ -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);