diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-13 14:01:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-13 14:01:26 +0200 |
commit | e99d422bbd3e47620915bf89671673f0711671b4 (patch) | |
tree | da9d46ec8f793ae3f70ddcd229bc4a34122a3170 /src/proto | |
parent | e6174fd58d459722847c76f8c5aa1b08a49c3e0d (diff) | |
download | vim-git-e99d422bbd3e47620915bf89671673f0711671b4.tar.gz |
patch 8.2.2985: Vim9: a compiled function cannot be debuggedv8.2.2985
Problem: Vim9: a compiled function cannot be debugged.
Solution: Add initial debugging support.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/vim9compile.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro index 39624aef1..881dddc51 100644 --- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -3,7 +3,7 @@ int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); int use_typecheck(type_T *actual, type_T *expected); int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const); -int func_needs_compiling(ufunc_T *ufunc, int profile); +int func_needs_compiling(ufunc_T *ufunc, compiletype_T compile_type); int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); imported_T *find_imported_in_script(char_u *name, size_t len, int sid); @@ -17,7 +17,7 @@ void fill_exarg_from_cctx(exarg_T *eap, cctx_T *cctx); int assignment_len(char_u *p, int *heredoc); void vim9_declare_error(char_u *name); int check_vim9_unlet(char_u *name); -int compile_def_function(ufunc_T *ufunc, int check_return_type, int profiling, cctx_T *outer_cctx); +int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx); void set_function_type(ufunc_T *ufunc); void delete_instr(isn_T *isn); void unlink_def_function(ufunc_T *ufunc); |