Mercurial > vim
comparison src/proto/eval.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 | ccbb8e393d80 |
children | 80ac9cf77c9b |
comparison
equal
deleted
inserted
replaced
9685:fee40b9f4989 | 9686:8c2553beff0f |
---|---|
85 char_u *get_tv_string_buf(typval_T *varp, char_u *buf); | 85 char_u *get_tv_string_buf(typval_T *varp, char_u *buf); |
86 char_u *get_tv_string_chk(typval_T *varp); | 86 char_u *get_tv_string_chk(typval_T *varp); |
87 char_u *get_tv_string_buf_chk(typval_T *varp, char_u *buf); | 87 char_u *get_tv_string_buf_chk(typval_T *varp, char_u *buf); |
88 dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); | 88 dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); |
89 dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); | 89 dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); |
90 hashtab_T *find_var_ht(char_u *name, char_u **varname); | |
90 char_u *get_var_value(char_u *name); | 91 char_u *get_var_value(char_u *name); |
91 void new_script_vars(scid_T id); | 92 void new_script_vars(scid_T id); |
92 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); | 93 void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); |
93 void unref_var_dict(dict_T *dict); | 94 void unref_var_dict(dict_T *dict); |
94 void vars_clear(hashtab_T *ht); | 95 void vars_clear(hashtab_T *ht); |