mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1041: cannot define a method in a class
Problem: Cannot define a method in a class. Solution: Implement defining an object method. Make calling an object method work.
This commit is contained in:
@@ -2676,7 +2676,8 @@ typedef enum {
|
||||
#define TFN_NO_DECL 0x20 // only used for GLV_NO_DECL
|
||||
#define TFN_COMPILING 0x40 // only used for GLV_COMPILING
|
||||
#define TFN_NEW_FUNC 0x80 // defining a new function
|
||||
#define TFN_ASSIGN_WITH_OP 0x100 // only for GLV_ASSIGN_WITH_OP
|
||||
#define TFN_ASSIGN_WITH_OP 0x100 // only for GLV_ASSIGN_WITH_OP
|
||||
#define TFN_IN_CLASS 0x200 // function in a class
|
||||
|
||||
// Values for get_lval() flags argument:
|
||||
#define GLV_QUIET TFN_QUIET // no error messages
|
||||
|
Reference in New Issue
Block a user