summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-10 17:33:29 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-10 17:33:29 +0100
commitded5f1bed7ff2d138b3ee0f9610d17290b62692d (patch)
tree54727bd70279df4fadc4b8f4701577ac33282ef5 /src/structs.h
parent1bbb61948342b5cf6e363629f145c65eb455c388 (diff)
patch 8.1.0515: reloading a script gives errors for existing functionsv8.1.0515
Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index a0c06b5f25..cd9b5a596f 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -84,6 +84,7 @@ typedef struct VimMenu vimmenu_T;
*/
typedef struct {
scid_T sc_sid; // script ID
+ int sc_seq; // sourcing sequence number
linenr_T sc_lnum; // line number
} sctx_T;