Mercurial > vim
comparison src/proto/userfunc.pro @ 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 | 172131507c85 |
children | 2ea935bdd1a1 |
comparison
equal
deleted
inserted
replaced
9685:fee40b9f4989 | 9686:8c2553beff0f |
---|---|
44 dictitem_T *get_funccal_args_var(void); | 44 dictitem_T *get_funccal_args_var(void); |
45 void *clear_current_funccal(void); | 45 void *clear_current_funccal(void); |
46 void restore_current_funccal(void *f); | 46 void restore_current_funccal(void *f); |
47 void list_func_vars(int *first); | 47 void list_func_vars(int *first); |
48 dict_T *get_current_funccal_dict(hashtab_T *ht); | 48 dict_T *get_current_funccal_dict(hashtab_T *ht); |
49 dictitem_T *find_var_in_scoped_ht(char_u *name, char_u **varname, int no_autoload); | |
49 int set_ref_in_previous_funccal(int copyID); | 50 int set_ref_in_previous_funccal(int copyID); |
50 int set_ref_in_call_stack(int copyID); | 51 int set_ref_in_call_stack(int copyID); |
51 int set_ref_in_func_args(int copyID); | 52 int set_ref_in_func_args(int copyID); |
53 int set_ref_in_func(char_u *name, int copyID); | |
52 /* vim: set ft=c : */ | 54 /* vim: set ft=c : */ |