mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.1889: Vim9: errornous error for missing white space after {}
Problem: Vim9: errornous error for missing white space after {}. Solution: Don't skip over white space after {}. (issue #7167)
This commit is contained in:
parent
e6e70a10f1
commit
b07a39de48
@ -950,7 +950,7 @@ failret:
|
|||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
*arg = skipwhite(*arg + 1);
|
*arg = *arg + 1;
|
||||||
if (evaluate)
|
if (evaluate)
|
||||||
rettv_dict_set(rettv, d);
|
rettv_dict_set(rettv, d);
|
||||||
|
|
||||||
|
@ -1124,6 +1124,12 @@ def Test_expr5_vim9script()
|
|||||||
END
|
END
|
||||||
CheckScriptFailure(lines, 'E15:', 2)
|
CheckScriptFailure(lines, 'E15:', 2)
|
||||||
|
|
||||||
|
lines =<< trim END
|
||||||
|
vim9script
|
||||||
|
echo {} - 22
|
||||||
|
END
|
||||||
|
CheckScriptFailure(lines, 'E731:', 2)
|
||||||
|
|
||||||
lines =<< trim END
|
lines =<< trim END
|
||||||
vim9script
|
vim9script
|
||||||
echo 'abc' is? 'abc'
|
echo 'abc' is? 'abc'
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1889,
|
||||||
/**/
|
/**/
|
||||||
1888,
|
1888,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user