diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-31 23:13:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-31 23:13:10 +0200 |
commit | bd5da371aafe5a2207065643502f4d1ff6b286c7 (patch) | |
tree | a76f8259b8caaf9d223063d307da28a5ea049c15 /src/vim9.h | |
parent | 9be61bbb170ed3df0e408c8ac12516e772dc0b75 (diff) |
patch 8.2.0487: Vim9: compiling not sufficiently testedv8.2.0487
Problem: Vim9: compiling not sufficiently tested.
Solution: Add more tests. Fix bug with PCALL.
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim9.h b/src/vim9.h index ffa09a727d..7b95c377ef 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -57,6 +57,7 @@ typedef enum { ISN_DCALL, // call def function isn_arg.dfunc ISN_UCALL, // call user function or funcref/partial isn_arg.ufunc ISN_PCALL, // call partial, use isn_arg.pfunc + ISN_PCALL_END, // cleanup after ISN_PCALL with cpf_top set ISN_RETURN, // return, result is on top of stack ISN_FUNCREF, // push a function ref to dfunc isn_arg.number @@ -256,7 +257,7 @@ struct dfunc_S { // Functions defined with :def are stored in this growarray. // They are never removed, so that they can be found by index. // Deleted functions have the df_deleted flag set. -garray_T def_functions = {0, 0, sizeof(dfunc_T), 50, NULL}; +garray_T def_functions = {0, 0, sizeof(dfunc_T), 200, NULL}; #else extern garray_T def_functions; #endif |