static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 355,
/**/
354,
/**/
ISN_STOREREG, // pop into register isn_arg.number
// ISN_STOREOTHER, // pop into other script variable isn_arg.other.
- ISN_STORENR, // store number into local variable isn_arg.storenr.str_idx
+ ISN_STORENR, // store number into local variable isn_arg.storenr.stnr_idx
// constants
ISN_PUSHNR, // push number isn_arg.number
// arguments to ISN_STORENR
typedef struct {
- int str_idx;
- varnumber_T str_val;
+ int stnr_idx;
+ varnumber_T stnr_val;
} storenr_T;
// arguments to ISN_STOREOPT
RETURN_OK_IF_SKIP(cctx);
if ((isn = generate_instr(cctx, ISN_STORENR)) == NULL)
return FAIL;
- isn->isn_arg.storenr.str_idx = idx;
- isn->isn_arg.storenr.str_val = value;
+ isn->isn_arg.storenr.stnr_idx = idx;
+ isn->isn_arg.storenr.stnr_val = value;
return OK;
}
garray_T *stack = &cctx->ctx_type_stack;
isn->isn_type = ISN_STORENR;
- isn->isn_arg.storenr.str_idx = idx;
- isn->isn_arg.storenr.str_val = val;
+ isn->isn_arg.storenr.stnr_idx = idx;
+ isn->isn_arg.storenr.stnr_val = val;
if (stack->ga_len > 0)
--stack->ga_len;
}
// store number in local variable
case ISN_STORENR:
- tv = STACK_TV_VAR(iptr->isn_arg.storenr.str_idx);
+ tv = STACK_TV_VAR(iptr->isn_arg.storenr.stnr_idx);
clear_tv(tv);
tv->v_type = VAR_NUMBER;
- tv->vval.v_number = iptr->isn_arg.storenr.str_val;
+ tv->vval.v_number = iptr->isn_arg.storenr.stnr_val;
break;
// push constant
break;
case ISN_STORENR:
smsg("%4d STORE %lld in $%d", current,
- iptr->isn_arg.storenr.str_val,
- iptr->isn_arg.storenr.str_idx);
+ iptr->isn_arg.storenr.stnr_val,
+ iptr->isn_arg.storenr.stnr_idx);
break;
// constants