diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-08 17:36:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-08 17:36:21 +0200 |
commit | 7a4b8980ea5ecaea061caae7816ea62cc4940011 (patch) | |
tree | bea3cf5b0a0fb38b3d28ca15222e1d0a1358df53 /src/proto/vim9compile.pro | |
parent | c620c055ce8505596a7208ba696a32b8a3be4f4b (diff) | |
download | vim-git-7a4b8980ea5ecaea061caae7816ea62cc4940011.tar.gz |
patch 8.2.1155: Vim9: cannot handle line break inside lambdav8.2.1155
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407, closes #6409)
Diffstat (limited to 'src/proto/vim9compile.pro')
-rw-r--r-- | src/proto/vim9compile.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro index 05f6d5022..b2677c8fe 100644 --- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -8,6 +8,8 @@ char *vartype_name(vartype_T type); char *type_name(type_T *type, char **tofree); int get_script_item_idx(int sid, char_u *name, int check_writable); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); +char_u *peek_next_line_from_context(cctx_T *cctx); +char_u *next_line_from_context(cctx_T *cctx, int skip_comment); char_u *to_name_const_end(char_u *arg); int assignment_len(char_u *p, int *heredoc); void vim9_declare_error(char_u *name); |