diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-10 18:42:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-10 18:42:12 +0000 |
commit | 7ce7daf6cd6a7ed27eac060699026640b4b239a8 (patch) | |
tree | bb6ddd44c1e6133c82ce791d9568405723f251af /src/structs.h | |
parent | 6c87bbb4e45515e70ac1728cabd1451063bf427d (diff) | |
download | vim-git-7ce7daf6cd6a7ed27eac060699026640b4b239a8.tar.gz |
patch 9.0.1045: in a class object members cannot be initializedv9.0.1045
Problem: In a class object members cannot be initialized.
Solution: Support initializing object members. Make "dissassemble" work on
an object method.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 1395a2027..46f9b0c3d 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1463,8 +1463,9 @@ typedef struct { * Entry for an object member variable. */ typedef struct { - char_u *om_name; // allocated + char_u *om_name; // allocated type_T *om_type; + char_u *om_init; // allocated } objmember_T; // "class_T": used for v_class of typval of VAR_CLASS |