annotate src/proto/vim9compile.pro @ 22324:a4ed0de125d9 v8.2.1711

patch 8.2.1711: Vim9: leaking memory when using partial Commit: https://github.com/vim/vim/commit/fdeab65db60929e28640fd740c333f9bcfea0e15 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 19 15:16:50 2020 +0200 patch 8.2.1711: Vim9: leaking memory when using partial Problem: Vim9: leaking memory when using partial. Solution: Do delete the function even when it was compiled.
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Sep 2020 15:30:04 +0200
parents d2dee69de7c7
children 107eae953b87
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* vim9compile.c */
21194
afed2045ffc9 patch 8.2.1148: warning for using int instead of size_t
Bram Moolenaar <Bram@vim.org>
parents: 20953
diff changeset
2 int check_defined(char_u *p, size_t len, cctx_T *cctx);
21251
d1215fcdbca8 patch 8.2.1176: Vim9: not enough type checking in Vim9 script
Bram Moolenaar <Bram@vim.org>
parents: 21218
diff changeset
3 int check_compare_types(exptype_T type, typval_T *tv1, typval_T *tv2);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 int get_script_item_idx(int sid, char_u *name, int check_writable);
19285
86665583dc83 patch 8.2.0201: cannot assign to an imported variable
Bram Moolenaar <Bram@vim.org>
parents: 19181
diff changeset
5 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
21699
1b96535705a0 patch 8.2.1399: Vim9: may find imported item in wrong script
Bram Moolenaar <Bram@vim.org>
parents: 21630
diff changeset
6 imported_T *find_imported_in_script(char_u *name, size_t len, int sid);
21385
54a304e4dc57 patch 8.2.1243: Vim9: cannot have a comment line halfway a list
Bram Moolenaar <Bram@vim.org>
parents: 21383
diff changeset
7 int vim9_comment_start(char_u *p);
21208
09377fd59b2e patch 8.2.1155: Vim9: cannot handle line break inside lambda
Bram Moolenaar <Bram@vim.org>
parents: 21194
diff changeset
8 char_u *peek_next_line_from_context(cctx_T *cctx);
09377fd59b2e patch 8.2.1155: Vim9: cannot handle line break inside lambda
Bram Moolenaar <Bram@vim.org>
parents: 21194
diff changeset
9 char_u *next_line_from_context(cctx_T *cctx, int skip_comment);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 char_u *to_name_const_end(char_u *arg);
21546
4d3e983313dc patch 8.2.1323: Vim9: invalid operators only rejected in :def function
Bram Moolenaar <Bram@vim.org>
parents: 21500
diff changeset
11 exptype_T get_compare_type(char_u *p, int *len, int *type_is);
21630
3c6c52fbc8ea patch 8.2.1365: Vim9: no error for missing white space around operator
Bram Moolenaar <Bram@vim.org>
parents: 21546
diff changeset
12 void error_white_both(char_u *op, int len);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 int assignment_len(char_u *p, int *heredoc);
20953
6b4b887a12f0 patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
Bram Moolenaar <Bram@vim.org>
parents: 20943
diff changeset
14 void vim9_declare_error(char_u *name);
20091
a64c16ff98b8 patch 8.2.0601: Vim9: :unlet is not compiled
Bram Moolenaar <Bram@vim.org>
parents: 19726
diff changeset
15 int check_vim9_unlet(char_u *name);
20528
489cb75c76b6 patch 8.2.0818: Vim9: using a discovery phase doesn't work well
Bram Moolenaar <Bram@vim.org>
parents: 20339
diff changeset
16 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);
20532
cb4831fa7e25 patch 8.2.0820: Vim9: function type isn't set until compiled
Bram Moolenaar <Bram@vim.org>
parents: 20528
diff changeset
17 void set_function_type(ufunc_T *ufunc);
19726
ad37a198a708 patch 8.2.0419: various memory leaks in Vim9 script code
Bram Moolenaar <Bram@vim.org>
parents: 19623
diff changeset
18 void delete_instr(isn_T *isn);
20943
1693ca876049 patch 8.2.1023: Vim9: redefining a function uses a new index every time
Bram Moolenaar <Bram@vim.org>
parents: 20842
diff changeset
19 void clear_def_function(ufunc_T *ufunc);
22324
a4ed0de125d9 patch 8.2.1711: Vim9: leaking memory when using partial
Bram Moolenaar <Bram@vim.org>
parents: 21711
diff changeset
20 void unlink_def_function(ufunc_T *ufunc);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 void free_def_functions(void);
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 /* vim: set ft=c : */