comparison src/vim9execute.c @ 30986:360f286b5869 v9.0.0828

patch 9.0.0828: various typos Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74 Author: dundargoc <gocdundar@gmail.com> Date: Wed Nov 2 13:30:51 2022 +0000 patch 9.0.0828: various typos Problem: Various typos. Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 14:45:11 +0100
parents d914a3812d5b
children 684e6dfa2fba
comparison
equal deleted inserted replaced
30985:25894f29103e 30986:360f286b5869
232 key = tv->vval.v_string == NULL 232 key = tv->vval.v_string == NULL
233 ? (char_u *)"" : tv->vval.v_string; 233 ? (char_u *)"" : tv->vval.v_string;
234 item = dict_find(dict, key, -1); 234 item = dict_find(dict, key, -1);
235 if (item != NULL) 235 if (item != NULL)
236 { 236 {
237 semsg(_(e_duplicate_key_in_dicitonary), key); 237 semsg(_(e_duplicate_key_in_dictionary), key);
238 dict_unref(dict); 238 dict_unref(dict);
239 return MAYBE; 239 return MAYBE;
240 } 240 }
241 item = dictitem_alloc(key); 241 item = dictitem_alloc(key);
242 clear_tv(tv); 242 clear_tv(tv);
864 /* 864 /*
865 * Clear "current_ectx" and return the previous value. To be used when calling 865 * Clear "current_ectx" and return the previous value. To be used when calling
866 * a user function. 866 * a user function.
867 */ 867 */
868 ectx_T * 868 ectx_T *
869 clear_currrent_ectx(void) 869 clear_current_ectx(void)
870 { 870 {
871 ectx_T *r = current_ectx; 871 ectx_T *r = current_ectx;
872 872
873 current_ectx = NULL; 873 current_ectx = NULL;
874 return r; 874 return r;
4521 || iptr->isn_arg.op.op_type == EXPR_RSHIFT) 4521 || iptr->isn_arg.op.op_type == EXPR_RSHIFT)
4522 { 4522 {
4523 if (arg2 < 0) 4523 if (arg2 < 0)
4524 { 4524 {
4525 SOURCING_LNUM = iptr->isn_lnum; 4525 SOURCING_LNUM = iptr->isn_lnum;
4526 emsg(_(e_bitshift_ops_must_be_postive)); 4526 emsg(_(e_bitshift_ops_must_be_positive));
4527 goto on_error; 4527 goto on_error;
4528 } 4528 }
4529 } 4529 }
4530 4530
4531 switch (iptr->isn_arg.op.op_type) 4531 switch (iptr->isn_arg.op.op_type)
5927 while (ectx->ec_frame_idx != ectx->ec_initial_frame_idx) 5927 while (ectx->ec_frame_idx != ectx->ec_initial_frame_idx)
5928 func_return(ectx); 5928 func_return(ectx);
5929 } 5929 }
5930 5930
5931 /* 5931 /*
5932 * Invoke any deffered functions for the top function in "ectx". 5932 * Invoke any deferred functions for the top function in "ectx".
5933 */ 5933 */
5934 void 5934 void
5935 may_invoke_defer_funcs(ectx_T *ectx) 5935 may_invoke_defer_funcs(ectx_T *ectx)
5936 { 5936 {
5937 dfunc_T *dfunc = ((dfunc_T *)def_functions.ga_data) + ectx->ec_dfunc_idx; 5937 dfunc_T *dfunc = ((dfunc_T *)def_functions.ga_data) + ectx->ec_dfunc_idx;