forked from aniani/vim
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)
This commit is contained in:
@@ -971,11 +971,12 @@ typedef struct {
|
||||
typedef struct msglist msglist_T;
|
||||
struct msglist
|
||||
{
|
||||
msglist_T *next; // next of several messages in a row
|
||||
char *msg; // original message, allocated
|
||||
char *throw_msg; // msg to throw: usually original one
|
||||
char_u *sfile; // value from estack_sfile(), allocated
|
||||
long slnum; // line number for "sfile"
|
||||
msglist_T *next; // next of several messages in a row
|
||||
int msg_compiling; // saved value of estack_compiling
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user