Mercurial > vim
comparison src/structs.h @ 21281:13b1567ae0c6 v8.2.1191
patch 8.2.1191: Vim9: crash when function calls itself
Commit: https://github.com/vim/vim/commit/985116ae0b7b3ef17e0c0ea2669068dd6b3b39c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 12 17:31:09 2020 +0200
patch 8.2.1191: Vim9: crash when function calls itself
Problem: Vim9: crash when function calls itself.
Solution: Add status UF_COMPILING. (closes https://github.com/vim/vim/issues/6441)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Jul 2020 17:45:04 +0200 |
parents | ad13736a1783 |
children | 8de90d2965a3 |
comparison
equal
deleted
inserted
replaced
21280:fcc4b91118cf | 21281:13b1567ae0c6 |
---|---|
1537 | 1537 |
1538 // values used for "uf_dfunc_idx" | 1538 // values used for "uf_dfunc_idx" |
1539 typedef enum { | 1539 typedef enum { |
1540 UF_NOT_COMPILED, | 1540 UF_NOT_COMPILED, |
1541 UF_TO_BE_COMPILED, | 1541 UF_TO_BE_COMPILED, |
1542 UF_COMPILING, | |
1542 UF_COMPILED | 1543 UF_COMPILED |
1543 } def_status_T; | 1544 } def_status_T; |
1544 | 1545 |
1545 /* | 1546 /* |
1546 * Structure to hold info for a user function. | 1547 * Structure to hold info for a user function. |