0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1191: Vim9: crash when function calls itself

Problem:    Vim9: crash when function calls itself.
Solution:   Add status UF_COMPILING. (closes #6441)
This commit is contained in:
Bram Moolenaar
2020-07-12 17:31:09 +02:00
parent eb6880b6eb
commit 985116ae0b
4 changed files with 17 additions and 0 deletions

View File

@@ -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;