mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0627: "const" and "final" both make the type a constant
Problem: "const" and "final" both make the type a constant. (Daniel Steinberg) Solution: Only have "const" make the type a constant.
This commit is contained in:
@@ -697,7 +697,9 @@ typedef struct {
|
||||
int lv_loop_depth; // depth for variable inside a loop or -1
|
||||
int lv_loop_idx; // index of first variable inside a loop or -1
|
||||
int lv_from_outer; // nesting level, using ctx_outer scope
|
||||
int lv_const; // when TRUE cannot be assigned to
|
||||
int lv_const; // ASSIGN_VAR (can be assigned to),
|
||||
// ASSIGN_FINAL (no assignment) or ASSIGN_CONST
|
||||
// (value cannot be changed)
|
||||
int lv_arg; // when TRUE this is an argument
|
||||
} lvar_T;
|
||||
|
||||
|
Reference in New Issue
Block a user