commit | e8c4660a55364a5d3e395652d1202b8702666823 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Apr 05 22:27:37 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Apr 05 22:27:37 2021 +0200 |
tree | 938228d7a0896d373c599b31f32fcd378ee89a33 | |
parent | 0d351a04e137b5c25dd558476182e4cbc81a287d [diff] [blame] |
patch 8.2.2725: Vim9: message about compiling is wrong when using try/catch Problem: Vim9: message about compiling is wrong when using try/catch. Solution: Store the compiling flag with the message. (closes #8071)
diff --git a/src/ex_eval.c b/src/ex_eval.c index 8d1fd87..d68e792 100644 --- a/src/ex_eval.c +++ b/src/ex_eval.c
@@ -292,6 +292,7 @@ // reaching do_errthrow(). elem->sfile = estack_sfile(ESTACK_NONE); elem->slnum = SOURCING_LNUM; + elem->msg_compiling = estack_compiling; } } }