summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-12 17:31:09 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-12 17:31:09 +0200
commit985116ae0b7b3ef17e0c0ea2669068dd6b3b39c7 (patch)
tree15ce69f1bacb283465128d638a064046041b9230 /src/structs.h
parenteb6880b6eb7c4631f6103575c0d1336b149348c1 (diff)
patch 8.2.1191: Vim9: crash when function calls itselfv8.2.1191
Problem: Vim9: crash when function calls itself. Solution: Add status UF_COMPILING. (closes #6441)
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 bdc763b52d..4a0c10a459 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1539,6 +1539,7 @@ typedef struct funccall_S funccall_T;
typedef enum {
UF_NOT_COMPILED,
UF_TO_BE_COMPILED,
+ UF_COMPILING,
UF_COMPILED
} def_status_T;