Mercurial > vim
diff src/vim9execute.c @ 23553:5c094273c015 v8.2.2319
patch 8.2.2319: "exptype_T" can be read as "expected type"
Commit: https://github.com/vim/vim/commit/657137ca487c60d63989236115115161def270a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 9 15:45:23 2021 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Jan 2021 16:00:04 +0100 |
parents | 1bb7fa4f9b35 |
children | f50ee1ae4d9b |
line wrap: on
line diff
--- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -2725,11 +2725,11 @@ call_def_function( { typval_T *tv1 = STACK_TV_BOT(-2); typval_T *tv2 = STACK_TV_BOT(-1); - exptype_T exptype = iptr->isn_arg.op.op_type; + exprtype_T exprtype = iptr->isn_arg.op.op_type; int ic = iptr->isn_arg.op.op_ic; SOURCING_LNUM = iptr->isn_lnum; - typval_compare(tv1, tv2, exptype, ic); + typval_compare(tv1, tv2, exprtype, ic); clear_tv(tv2); --ectx.ec_stack.ga_len; }