diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-12 22:53:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-12 22:53:54 +0200 |
commit | 675f716efb534798a3bdb651cdb272302127602a (patch) | |
tree | 0a3d2f5178f71c73aab0d6b2541e70c9602aaac0 /src/vim9compile.c | |
parent | 23e032523e377d367e06441e88c67692a8c6c3e9 (diff) |
patch 8.2.0565: Vim9: tests contain superfluous line continuationv8.2.0565
Problem: Vim9: tests contain superfluous line continuation.
Solution: Remove line continuation no longer needed. Skip empty lines.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index e39ddeecab..8a4684d303 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2065,7 +2065,7 @@ next_line_from_context(cctx_T *cctx) line = ((char_u **)cctx->ctx_ufunc->uf_lines.ga_data)[cctx->ctx_lnum]; SOURCING_LNUM = cctx->ctx_ufunc->uf_script_ctx.sc_lnum + cctx->ctx_lnum + 1; - } while (line == NULL); + } while (line == NULL || *skipwhite(line) == NUL); return line; } |