diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index d8c955ec5..ce033c1b3 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -4106,7 +4106,7 @@ compile_subscript( ppconst->pp_is_const = FALSE; *arg = p + 1; - if (may_get_next_line(*arg, arg, cctx) == FAIL) + if (IS_WHITE_OR_NUL(**arg)) { emsg(_(e_missing_name_after_dot)); return FAIL; @@ -4785,7 +4785,7 @@ compile_and_or( if (!IS_WHITE_OR_NUL(**arg) || !IS_WHITE_OR_NUL(p[2])) { semsg(_(e_white_space_required_before_and_after_str_at_str), - op, *arg); + op, p); return FAIL; } |