diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-09 19:30:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-09 19:30:03 +0200 |
commit | c04f2a4cd40f32120b7a94fdea7bfa62e8640041 (patch) | |
tree | f95f277447dd83cdf9dacf7d974926abb75fc034 /src/structs.h | |
parent | e3f50ad640fb30f27027f85a616280288bbc14ca (diff) | |
download | vim-git-8.2.2967.tar.gz |
patch 8.2.2967: Vim9: crash when using two levels of partialsv8.2.2967
Problem: Vim9: crash when using two levels of partials.
Solution: Add outer_ref_T and use it in the execution context.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index a923a35ed..10f1025c1 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1995,7 +1995,7 @@ struct outer_S { garray_T *out_stack; // stack from outer scope int out_frame_idx; // index of stack frame in out_stack outer_T *out_up; // outer scope of outer scope or NULL - int out_up_is_copy; // don't free out_up + partial_T *out_up_partial; // partial owning out_up or NULL }; struct partial_S |