diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-04 22:20:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-04 22:20:26 +0100 |
commit | a471eeae75cda982bb6ddffbb0cbb71d868b97bf (patch) | |
tree | bdd8d5b249cd291c30a2d96e77d48cb8f5d4dd17 /src/vim9.h | |
parent | a65bb53514a1af1ec0dc5c4831dfaef69f139a48 (diff) |
patch 8.2.0355: Vim9: str_val is confusing, it's a numberv8.2.0355
Problem: Vim9: str_val is confusing, it's a number
Solution: Rename to stnr_val.
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vim9.h b/src/vim9.h index 35d34e3af4..38286b32a1 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -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 |