0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0355: Vim9: str_val is confusing, it's a number

Problem:    Vim9: str_val is confusing, it's a number
Solution:   Rename to stnr_val.
This commit is contained in:
Bram Moolenaar
2020-03-04 22:20:26 +01:00
parent a65bb53514
commit a471eeae75
4 changed files with 13 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ typedef enum {
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
@@ -178,8 +178,8 @@ typedef struct {
// 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