comparison src/vim9instr.c @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +0100
parents b969fdb8cd46
children ccb9be1cdd71
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
755 RETURN_OK_IF_SKIP(cctx); 755 RETURN_OK_IF_SKIP(cctx);
756 756
757 if (type->tt_type != VAR_LIST) 757 if (type->tt_type != VAR_LIST)
758 { 758 {
759 // cannot happen, caller has checked the type 759 // cannot happen, caller has checked the type
760 emsg(_(e_listreq)); 760 emsg(_(e_list_required));
761 return FAIL; 761 return FAIL;
762 } 762 }
763 item_type = type->tt_member; 763 item_type = type->tt_member;
764 if ((isn = generate_instr(cctx, ISN_GETITEM)) == NULL) 764 if ((isn = generate_instr(cctx, ISN_GETITEM)) == NULL)
765 return FAIL; 765 return FAIL;