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:
@@ -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
|
||||
|
Reference in New Issue
Block a user