comparison src/vim.h @ 9717:6226de5f8137 v7.4.2134

commit https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 31 14:11:58 2016 +0200 patch 7.4.2134 Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jul 2016 14:15:05 +0200
parents 02bed64bbd79
children 80ac9cf77c9b
comparison
equal deleted inserted replaced
9716:f294f224b8fc 9717:6226de5f8137
2456 2456
2457 /* Values for trans_function_name() argument: */ 2457 /* Values for trans_function_name() argument: */
2458 #define TFN_INT 1 /* internal function name OK */ 2458 #define TFN_INT 1 /* internal function name OK */
2459 #define TFN_QUIET 2 /* no error messages */ 2459 #define TFN_QUIET 2 /* no error messages */
2460 #define TFN_NO_AUTOLOAD 4 /* do not use script autoloading */ 2460 #define TFN_NO_AUTOLOAD 4 /* do not use script autoloading */
2461 #define TFN_NO_DEREF 8 /* do not dereference a Funcref */
2461 2462
2462 /* Values for get_lval() flags argument: */ 2463 /* Values for get_lval() flags argument: */
2463 #define GLV_QUIET TFN_QUIET /* no error messages */ 2464 #define GLV_QUIET TFN_QUIET /* no error messages */
2464 #define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD /* do not use script autoloading */ 2465 #define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD /* do not use script autoloading */
2465 2466