mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
refactor: move macro definiton outside of enums
Uncrustify version 0.75 assumes the macro inside the enum is an enum element, and thus adds a comma after it. This breaks neovim and makes it impossible to build it.
This commit is contained in:
@@ -185,8 +185,8 @@ typedef enum {
|
||||
kMPArray,
|
||||
kMPMap,
|
||||
kMPExt,
|
||||
#define LAST_MSGPACK_TYPE kMPExt
|
||||
} MessagePackType;
|
||||
#define LAST_MSGPACK_TYPE kMPExt
|
||||
|
||||
/// Array mapping values from MessagePackType to corresponding list pointers
|
||||
extern const list_T *eval_msgpack_type_lists[LAST_MSGPACK_TYPE + 1];
|
||||
|
Reference in New Issue
Block a user