Mercurial > vim
comparison src/globals.h @ 9686:8c2553beff0f v7.4.2119
commit https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 29 22:15:09 2016 +0200
patch 7.4.2119
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jul 2016 22:30:08 +0200 |
parents | c7147f0fd29a |
children | de8de17a43d7 |
comparison
equal
deleted
inserted
replaced
9685:fee40b9f4989 | 9686:8c2553beff0f |
---|---|
1656 #ifdef FEAT_EVAL | 1656 #ifdef FEAT_EVAL |
1657 EXTERN time_T time_for_testing INIT(= 0); | 1657 EXTERN time_T time_for_testing INIT(= 0); |
1658 | 1658 |
1659 /* Abort conversion to string after a recursion error. */ | 1659 /* Abort conversion to string after a recursion error. */ |
1660 EXTERN int did_echo_string_emsg INIT(= FALSE); | 1660 EXTERN int did_echo_string_emsg INIT(= FALSE); |
1661 | |
1662 /* Used for checking if local variables or arguments used in a lambda. */ | |
1663 EXTERN int *eval_lavars_used INIT(= NULL); | |
1661 #endif | 1664 #endif |
1662 | 1665 |
1663 /* | 1666 /* |
1664 * Optional Farsi support. Include it here, so EXTERN and INIT are defined. | 1667 * Optional Farsi support. Include it here, so EXTERN and INIT are defined. |
1665 */ | 1668 */ |