Mercurial > vim
comparison src/vim.h @ 9723:80ac9cf77c9b v7.4.2137
commit https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 1 15:40:54 2016 +0200
patch 7.4.2137
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 01 Aug 2016 15:45:07 +0200 |
parents | 6226de5f8137 |
children | a990e7ed260b |
comparison
equal
deleted
inserted
replaced
9722:1557241fd3a7 | 9723:80ac9cf77c9b |
---|---|
2473 #define ERROR_TOOFEW 2 | 2473 #define ERROR_TOOFEW 2 |
2474 #define ERROR_SCRIPT 3 | 2474 #define ERROR_SCRIPT 3 |
2475 #define ERROR_DICT 4 | 2475 #define ERROR_DICT 4 |
2476 #define ERROR_NONE 5 | 2476 #define ERROR_NONE 5 |
2477 #define ERROR_OTHER 6 | 2477 #define ERROR_OTHER 6 |
2478 #define ERROR_DELETED 7 | |
2478 | 2479 |
2479 /* flags for find_name_end() */ | 2480 /* flags for find_name_end() */ |
2480 #define FNE_INCL_BR 1 /* include [] in name */ | 2481 #define FNE_INCL_BR 1 /* include [] in name */ |
2481 #define FNE_CHECK_START 2 /* check name starts with valid character */ | 2482 #define FNE_CHECK_START 2 /* check name starts with valid character */ |
2482 | 2483 |