diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-09 23:01:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-09 23:01:14 +0200 |
commit | 07802044b90b2cbcc64b2dfe235f019d7c37589c (patch) | |
tree | 8f1d19d7f0204ad5876d73e83be81314e15350c7 /src/structs.h | |
parent | efc084e3353d6854b6dac8b240f70cb0abb838ad (diff) | |
download | vim-git-07802044b90b2cbcc64b2dfe235f019d7c37589c.tar.gz |
patch 8.2.3423: Vim9: list += list creates a new list in :def functionv8.2.3423
Problem: Vim9: list += list creates a new list in :def function.
Solution: Append to the existing list.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 5d1496f59..8a94fc115 100644 --- a/src/structs.h +++ b/src/structs.h @@ -4106,6 +4106,9 @@ typedef enum EXPR_MULT, // * EXPR_DIV, // / EXPR_REM, // % + // used with ISN_ADDLIST + EXPR_COPY, // create new list + EXPR_APPEND, // append to first list } exprtype_T; /* |