mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:8.2.1073: Vim9: no line break allowed in () expression
Problem: Vim9: no line break allowed in () expression.
Solution: Skip a line break.
7a4981b936
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
d927128fcc
commit
9c29c07705
@ -3021,7 +3021,9 @@ static int eval7(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool wan
|
||||
// nested expression: (expression).
|
||||
case '(':
|
||||
*arg = skipwhite(*arg + 1);
|
||||
|
||||
ret = eval1(arg, rettv, evalarg); // recursive!
|
||||
|
||||
if (**arg == ')') {
|
||||
(*arg)++;
|
||||
} else if (ret == OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user