comparison 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
comparison
equal deleted inserted replaced
23552:4c3639333c84 23553:5c094273c015
2723 case ISN_COMPAREFUNC: 2723 case ISN_COMPAREFUNC:
2724 case ISN_COMPAREANY: 2724 case ISN_COMPAREANY:
2725 { 2725 {
2726 typval_T *tv1 = STACK_TV_BOT(-2); 2726 typval_T *tv1 = STACK_TV_BOT(-2);
2727 typval_T *tv2 = STACK_TV_BOT(-1); 2727 typval_T *tv2 = STACK_TV_BOT(-1);
2728 exptype_T exptype = iptr->isn_arg.op.op_type; 2728 exprtype_T exprtype = iptr->isn_arg.op.op_type;
2729 int ic = iptr->isn_arg.op.op_ic; 2729 int ic = iptr->isn_arg.op.op_ic;
2730 2730
2731 SOURCING_LNUM = iptr->isn_lnum; 2731 SOURCING_LNUM = iptr->isn_lnum;
2732 typval_compare(tv1, tv2, exptype, ic); 2732 typval_compare(tv1, tv2, exprtype, ic);
2733 clear_tv(tv2); 2733 clear_tv(tv2);
2734 --ectx.ec_stack.ga_len; 2734 --ectx.ec_stack.ga_len;
2735 } 2735 }
2736 break; 2736 break;
2737 2737