From 1e96d9bf98f9ab84d5af7f98d6a961d91b17364f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 29 Jul 2016 22:15:09 +0200 Subject: patch 7.4.2119 Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata) --- src/proto/eval.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto/eval.pro') diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 5d9b35c62..56f0b4927 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -87,6 +87,7 @@ char_u *get_tv_string_chk(typval_T *varp); char_u *get_tv_string_buf_chk(typval_T *varp, char_u *buf); dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload); dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload); +hashtab_T *find_var_ht(char_u *name, char_u **varname); char_u *get_var_value(char_u *name); void new_script_vars(scid_T id); void init_var_dict(dict_T *dict, dictitem_T *dict_var, int scope); -- cgit v1.2.1