mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1870: Vim9: no need to keep all script variables
Problem: Vim9: no need to keep all script variables. Solution: Only keep script variables when a function was defined that could use them. Fix freeing static string on exit.
This commit is contained in:
@@ -917,6 +917,8 @@ typedef struct {
|
||||
# define CSF_SILENT 0x1000 // "emsg_silent" reset by ":try"
|
||||
// Note that CSF_ELSE is only used when CSF_TRY and CSF_WHILE are unset
|
||||
// (an ":if"), and CSF_SILENT is only used when CSF_TRY is set.
|
||||
//
|
||||
#define CSF_FUNC_DEF 0x2000 // a function was defined in this block
|
||||
|
||||
/*
|
||||
* What's pending for being reactivated at the ":endtry" of this try
|
||||
|
Reference in New Issue
Block a user