summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2023-10-14 11:25:04 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-14 11:25:04 +0200
commit0f058d13206665bad37c7d42834cfa0075f50239 (patch)
tree75929a5f6eb9fc5d4b3fa5008d701569e2a5dbf6 /src/structs.h
parent2bbd0d30eebdea66c0da3895e83d999ed6ad83fb (diff)
patch 9.0.2020: Vim9: islocked() needs more workv9.0.2020
Problem: Vim9: islocked() needs more work Solution: rework islocked() and remove sync_root from get_lval() closes: #13329 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/structs.h b/src/structs.h
index a221a0406d..3f461f8514 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4605,16 +4605,12 @@ typedef struct lval_S
} lval_T;
/**
- * This may be used to specify the base typval that get_lval() uses when
- * following a chain, for example a[idx1][idx2].
- * The lr_sync_root flags signals get_lval that the first time through
- * the indexing loop, skip handling '.' and '[idx]'.
+ * This specifies optional parameters for get_lval(). Arguments may be NULL.
*/
typedef struct lval_root_S {
- typval_T *lr_tv;
- class_T *lr_cl_exec; // executing class for access checking
- int lr_is_arg;
- int lr_sync_root;
+ typval_T *lr_tv; // Base typval.
+ class_T *lr_cl_exec; // Executing class for access checking.
+ int lr_is_arg; // name is an arg (not a member).
} lval_root_T;
// Structure used to save the current state. Used when executing Normal mode