summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-29 23:23:47 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-29 23:23:47 +0100
commit42a480bf7243ea8bce498264911e187931d083e5 (patch)
tree6dc175b13ce6cb57bc36f6b4a7665d71e1c6cd2b /src/vim9.h
parentcc390ff5b2c8725c55b961b24322c470659ede9f (diff)
downloadvim-git-42a480bf7243ea8bce498264911e187931d083e5.tar.gz
patch 8.2.0336: Vim9: insufficient test coverage for compilingv8.2.0336
Problem: Vim9: insufficient test coverage for compiling. Solution: Add more tests.
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/vim9.h b/src/vim9.h
index 77bf626d6..3a09c0fec 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -39,14 +39,18 @@ typedef enum {
ISN_STORENR, // store number into local variable isn_arg.storenr.str_idx
// constants
- ISN_PUSHNR, // push number isn_arg.number
- ISN_PUSHBOOL, // push bool value isn_arg.number
- ISN_PUSHSPEC, // push special value isn_arg.number
- ISN_PUSHF, // push float isn_arg.fnumber
- ISN_PUSHS, // push string isn_arg.string
- ISN_PUSHBLOB, // push blob isn_arg.blob
- ISN_NEWLIST, // push list from stack items, size is isn_arg.number
- ISN_NEWDICT, // push dict from stack items, size is isn_arg.number
+ ISN_PUSHNR, // push number isn_arg.number
+ ISN_PUSHBOOL, // push bool value isn_arg.number
+ ISN_PUSHSPEC, // push special value isn_arg.number
+ ISN_PUSHF, // push float isn_arg.fnumber
+ ISN_PUSHS, // push string isn_arg.string
+ ISN_PUSHBLOB, // push blob isn_arg.blob
+ ISN_PUSHFUNC, // push func isn_arg.string
+ ISN_PUSHPARTIAL, // push partial ?
+ ISN_PUSHCHANNEL, // push channel isn_arg.channel
+ ISN_PUSHJOB, // push channel isn_arg.job
+ ISN_NEWLIST, // push list from stack items, size is isn_arg.number
+ ISN_NEWDICT, // push dict from stack items, size is isn_arg.number
// function call
ISN_BCALL, // call builtin function isn_arg.bfunc
@@ -209,6 +213,8 @@ typedef struct {
#ifdef FEAT_FLOAT
float_T fnumber;
#endif
+ channel_T *channel;
+ job_T *job;
jump_T jump;
forloop_T forloop;
try_T try;