0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.2058

Problem:    eval.c is too big.
Solution:   Move user functions to userfunc.c
This commit is contained in:
Bram Moolenaar
2016-07-17 18:29:19 +02:00
parent da861d631d
commit a9b579f3d7
11 changed files with 3728 additions and 3531 deletions

View File

@@ -2407,4 +2407,29 @@ int vim_main2(int argc, char **argv);
#define COPYID_INC 2
#define COPYID_MASK (~0x1)
/* Values for trans_function_name() argument: */
#define TFN_INT 1 /* internal function name OK */
#define TFN_QUIET 2 /* no error messages */
#define TFN_NO_AUTOLOAD 4 /* do not use script autoloading */
/* Values for get_lval() flags argument: */
#define GLV_QUIET TFN_QUIET /* no error messages */
#define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD /* do not use script autoloading */
#define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not
be freed. */
/* errors for when calling a function */
#define ERROR_UNKNOWN 0
#define ERROR_TOOMANY 1
#define ERROR_TOOFEW 2
#define ERROR_SCRIPT 3
#define ERROR_DICT 4
#define ERROR_NONE 5
#define ERROR_OTHER 6
/* flags for find_name_end() */
#define FNE_INCL_BR 1 /* include [] in name */
#define FNE_CHECK_START 2 /* check name starts with valid character */
#endif /* VIM__H */