commit | 1a47ae32cdc19b0fd5a82e19fe5fddf45db1a506 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Dec 29 23:04:25 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Dec 29 23:04:25 2019 +0100 |
tree | 8f5dc27f3eeea927ad3ca8de42fe0df06a041dd5 | |
parent | 257a396879ff67a0482841a39237f30a8e1e27c5 [diff] [blame] |
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.
diff --git a/src/term.c b/src/term.c index b0ab7c6..389b06f 100644 --- a/src/term.c +++ b/src/term.c
@@ -2277,7 +2277,7 @@ } #endif - if (sourcing_name == NULL) + if (SOURCING_NAME == NULL) { #ifdef HAVE_TGETENT if (error_msg != NULL)