comparison src/proto/vim9compile.pro @ 24895:e61a2085c89b v8.2.2985

patch 8.2.2985: Vim9: a compiled function cannot be debugged Commit: https://github.com/vim/vim/commit/e99d422bbd3e47620915bf89671673f0711671b4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 13 14:01:26 2021 +0200 patch 8.2.2985: Vim9: a compiled function cannot be debugged Problem: Vim9: a compiled function cannot be debugged. Solution: Add initial debugging support.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jun 2021 14:15:04 +0200
parents 72f3e40f046c
children e56c8dc1a534
comparison
equal deleted inserted replaced
24894:6270bfeab91f 24895:e61a2085c89b
1 /* vim9compile.c */ 1 /* vim9compile.c */
2 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); 2 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg);
3 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); 3 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2);
4 int use_typecheck(type_T *actual, type_T *expected); 4 int use_typecheck(type_T *actual, type_T *expected);
5 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const); 5 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const);
6 int func_needs_compiling(ufunc_T *ufunc, int profile); 6 int func_needs_compiling(ufunc_T *ufunc, compiletype_T compile_type);
7 int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx); 7 int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx);
8 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); 8 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
9 imported_T *find_imported_in_script(char_u *name, size_t len, int sid); 9 imported_T *find_imported_in_script(char_u *name, size_t len, int sid);
10 char_u *peek_next_line_from_context(cctx_T *cctx); 10 char_u *peek_next_line_from_context(cctx_T *cctx);
11 char_u *next_line_from_context(cctx_T *cctx, int skip_comment); 11 char_u *next_line_from_context(cctx_T *cctx, int skip_comment);
15 void error_white_both(char_u *op, int len); 15 void error_white_both(char_u *op, int len);
16 void fill_exarg_from_cctx(exarg_T *eap, cctx_T *cctx); 16 void fill_exarg_from_cctx(exarg_T *eap, cctx_T *cctx);
17 int assignment_len(char_u *p, int *heredoc); 17 int assignment_len(char_u *p, int *heredoc);
18 void vim9_declare_error(char_u *name); 18 void vim9_declare_error(char_u *name);
19 int check_vim9_unlet(char_u *name); 19 int check_vim9_unlet(char_u *name);
20 int compile_def_function(ufunc_T *ufunc, int check_return_type, int profiling, cctx_T *outer_cctx); 20 int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx);
21 void set_function_type(ufunc_T *ufunc); 21 void set_function_type(ufunc_T *ufunc);
22 void delete_instr(isn_T *isn); 22 void delete_instr(isn_T *isn);
23 void unlink_def_function(ufunc_T *ufunc); 23 void unlink_def_function(ufunc_T *ufunc);
24 void link_def_function(ufunc_T *ufunc); 24 void link_def_function(ufunc_T *ufunc);
25 void free_def_functions(void); 25 void free_def_functions(void);