diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-27 08:07:14 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-27 08:07:14 +0000 |
commit | 30a844771554d28f1a88a256e6088dbb252228c1 (patch) | |
tree | dfeedb4a2cd9ca080b6b1f4403fc2b910670b288 /src/vim9.h | |
parent | c4e1b86cb0d88fa5ec1141d3c600e026dcc1bc21 (diff) | |
download | vim-git-9.0.1358.tar.gz |
patch 9.0.1358: compilation error with some compilersv9.0.1358
Problem: Compilation error with some compilers.
Solution: Avoid using "class" as member name.
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9.h b/src/vim9.h index d9b25dae5..48751ce43 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -102,7 +102,7 @@ typedef enum { ISN_PUSHCHANNEL, // push NULL channel ISN_PUSHJOB, // push NULL job ISN_PUSHOBJ, // push NULL object - ISN_PUSHCLASS, // push class, uses isn_arg.class + ISN_PUSHCLASS, // push class, uses isn_arg.classarg ISN_NEWLIST, // push list from stack items, size is isn_arg.number // -1 for null_list ISN_NEWDICT, // push dict from stack items, size is isn_arg.number @@ -520,7 +520,7 @@ struct isn_S { channel_T *channel; job_T *job; partial_T *partial; - class_T *class; + class_T *classarg; jump_T jump; jumparg_T jumparg; forloop_T forloop; |