mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:8.2.1064: Vim9: no line break allowed before comperators
Problem: Vim9: no line break allowed before comperators.
Solution: Check for comperator after line break.
e6536aa766
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
9781a21133
commit
51f99a347d
@ -2506,7 +2506,6 @@ static int eval3(char **arg, typval_T *rettv, evalarg_T *const evalarg)
|
||||
static int eval4(char **arg, typval_T *rettv, evalarg_T *const evalarg)
|
||||
{
|
||||
typval_T var2;
|
||||
char *p;
|
||||
exprtype_T type = EXPR_UNKNOWN;
|
||||
int len = 2;
|
||||
|
||||
@ -2515,7 +2514,7 @@ static int eval4(char **arg, typval_T *rettv, evalarg_T *const evalarg)
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
p = *arg;
|
||||
char *p = *arg;
|
||||
switch (p[0]) {
|
||||
case '=':
|
||||
if (p[1] == '=') {
|
||||
|
Loading…
Reference in New Issue
Block a user