summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-08 15:16:19 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-08 15:16:19 +0200
commitc620c055ce8505596a7208ba696a32b8a3be4f4b (patch)
treed61c203d6df6363f0466c4b4b8f4bd14141926c0 /src/structs.h
parentbed36b939a4c66f41d1f24e32cfa521b10f22b82 (diff)
downloadvim-git-c620c055ce8505596a7208ba696a32b8a3be4f4b.tar.gz
patch 8.2.1154: Vim9: crash when using imported functionv8.2.1154
Problem: Vim9: crash when using imported function. Solution: Check for a function type. Set the script context when calling a function. (closes #6412)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index cab6885e4..5c606d883 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1905,6 +1905,9 @@ typedef struct {
AutoPatCmd *aucmd; // autocommand info
except_T *except; // exception info
} es_info;
+#if defined(FEAT_EVAL)
+ scid_T es_save_sid; // saved sc_sid when calling function
+#endif
} estack_T;
// Information returned by get_tty_info().