comparison src/ex_eval.c @ 24369:a97fb00978f6 v8.2.2725

patch 8.2.2725: Vim9: message about compiling is wrong when using try/catch Commit: https://github.com/vim/vim/commit/e8c4660a55364a5d3e395652d1202b8702666823 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 5 22:27:37 2021 +0200 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 https://github.com/vim/vim/issues/8071)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Apr 2021 22:45:27 +0200
parents 3058ed6db36f
children 075790758d11
comparison
equal deleted inserted replaced
24368:4bf6a466ef7d 24369:a97fb00978f6
290 290
291 // Get the source name and lnum now, it may change before 291 // Get the source name and lnum now, it may change before
292 // reaching do_errthrow(). 292 // reaching do_errthrow().
293 elem->sfile = estack_sfile(ESTACK_NONE); 293 elem->sfile = estack_sfile(ESTACK_NONE);
294 elem->slnum = SOURCING_LNUM; 294 elem->slnum = SOURCING_LNUM;
295 elem->msg_compiling = estack_compiling;
295 } 296 }
296 } 297 }
297 } 298 }
298 return TRUE; 299 return TRUE;
299 } 300 }