mirror of
https://github.com/neovim/neovim.git
synced 2025-12-02 06:53:05 +00:00
refactor: missing parenthesis may cause unexpected problems (#17443)
related vim-8.2.{4402,4639}
This commit is contained in:
@@ -124,13 +124,13 @@ typedef struct {
|
||||
|
||||
#define VV(idx, name, type, flags) \
|
||||
[idx] = { \
|
||||
.vv_name = name, \
|
||||
.vv_name = (name), \
|
||||
.vv_di = { \
|
||||
.di_tv = { .v_type = type }, \
|
||||
.di_tv = { .v_type = (type) }, \
|
||||
.di_flags = 0, \
|
||||
.di_key = { 0 }, \
|
||||
}, \
|
||||
.vv_flags = flags, \
|
||||
.vv_flags = (flags), \
|
||||
}
|
||||
|
||||
#define VIMVAR_KEY_LEN 16 // Maximum length of the key of v:variables
|
||||
|
||||
Reference in New Issue
Block a user