comparison src/structs.h @ 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 cabed216cc2f
children a2a7d2d6e724
comparison
equal deleted inserted replaced
24368:4bf6a466ef7d 24369:a97fb00978f6
969 * message in the list. See cause_errthrow(). 969 * message in the list. See cause_errthrow().
970 */ 970 */
971 typedef struct msglist msglist_T; 971 typedef struct msglist msglist_T;
972 struct msglist 972 struct msglist
973 { 973 {
974 msglist_T *next; // next of several messages in a row
974 char *msg; // original message, allocated 975 char *msg; // original message, allocated
975 char *throw_msg; // msg to throw: usually original one 976 char *throw_msg; // msg to throw: usually original one
976 char_u *sfile; // value from estack_sfile(), allocated 977 char_u *sfile; // value from estack_sfile(), allocated
977 long slnum; // line number for "sfile" 978 long slnum; // line number for "sfile"
978 msglist_T *next; // next of several messages in a row 979 int msg_compiling; // saved value of estack_compiling
979 }; 980 };
980 981
981 /* 982 /*
982 * The exception types. 983 * The exception types.
983 */ 984 */