forked from aniani/vim
patch 8.2.0056: execution stack is incomplete and inefficient
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
This commit is contained in:
@@ -2277,7 +2277,7 @@ add_termcap_entry(char_u *name, int force)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (sourcing_name == NULL)
|
||||
if (SOURCING_NAME == NULL)
|
||||
{
|
||||
#ifdef HAVE_TGETENT
|
||||
if (error_msg != NULL)
|
||||
|
||||
Reference in New Issue
Block a user