aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-11 11:58:29 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-11 16:35:55 -0400
commitb2971ebeedc3b305cde1f1ddf0e56403e8105092 (patch)
tree0e846f094eb24c5d64d13e8ba3a55a4188fdca54 /src
parentca214311d23e687b9607ba97d01c9ae361d3743a (diff)
downloadrneovim-b2971ebeedc3b305cde1f1ddf0e56403e8105092.tar.gz
rneovim-b2971ebeedc3b305cde1f1ddf0e56403e8105092.tar.bz2
rneovim-b2971ebeedc3b305cde1f1ddf0e56403e8105092.zip
vim-patch:8.2.2319: "exptype_T" can be read as "expected type"
Problem: "exptype_T" can be read as "expected type". Solution: Rename to "exprtype_T", expression type. https://github.com/vim/vim/commit/657137ca487c60d63989236115115161def270a5 Vim9 changes omitted.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c4
-rw-r--r--src/nvim/eval.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index e6c4775a49..05d429c7d5 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -3417,7 +3417,7 @@ static int eval4(char_u **arg, typval_T *rettv, int evaluate)
{
typval_T var2;
char_u *p;
- exptype_T type = EXPR_UNKNOWN;
+ exprtype_T type = EXPR_UNKNOWN;
int len = 2;
bool ic;
@@ -10588,7 +10588,7 @@ bool invoke_prompt_interrupt(void)
int typval_compare(
typval_T *typ1, // first operand
typval_T *typ2, // second operand
- exptype_T type, // operator
+ exprtype_T type, // operator
bool ic // ignore case
)
FUNC_ATTR_NONNULL_ALL
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 167879020c..3da4bb8655 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -241,7 +241,7 @@ typedef enum {
EXPR_NOMATCH, ///< !~
EXPR_IS, ///< is
EXPR_ISNOT, ///< isnot
-} exptype_T;
+} exprtype_T;
/// Type for dict_list function
typedef enum {