diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-25 22:36:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-25 22:36:50 +0200 |
commit | 25e0f5863e9010a75a1ff0d04e8f886403968755 (patch) | |
tree | bcb0891919dbc85578b8483487f2ef89ede0f93c /src/ex_docmd.c | |
parent | 2eec37926db6d31beb36f162ac00357a30c093c8 (diff) |
patch 8.2.0823: Vim9: script reload test is disabledv8.2.0823
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 90f3a6dc29..adde9d75f2 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -634,8 +634,8 @@ do_cmdline( int *dbg_tick = NULL; // ptr to dbg_tick field in cookie struct dbg_stuff debug_saved; // saved things for debug mode int initial_trylevel; - struct msglist **saved_msg_list = NULL; - struct msglist *private_msg_list; + msglist_T **saved_msg_list = NULL; + msglist_T *private_msg_list; // "fgetline" and "cookie" passed to do_one_cmd() char_u *(*cmd_getline)(int, void *, int, int); @@ -1238,7 +1238,7 @@ do_cmdline( if (did_throw) { void *p = NULL; - struct msglist *messages = NULL, *next; + msglist_T *messages = NULL, *next; /* * If the uncaught exception is a user exception, report it as an |