diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-05 17:08:17 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-05 17:08:17 +0200 |
commit | 5deeb3f1f9db4eabd36e99cbf857fe376eb37e10 (patch) | |
tree | 929f788bcba4325b1bd8141182e433c47d53666f /src/vim9.h | |
parent | d7ffc0ba8ccb039dd19b255368302d9bfe0e010b (diff) |
patch 8.2.0512: Vim9: no optional arguments in func typev8.2.0512
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
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 a414caa63a..0c59b06ced 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -29,8 +29,8 @@ typedef enum { ISN_STORE, // pop into local variable isn_arg.number ISN_STOREV, // pop into v: variable isn_arg.number ISN_STOREG, // pop into global variable isn_arg.string - ISN_STORES, // pop into scirpt variable isn_arg.loadstore - ISN_STORESCRIPT, // pop into scirpt variable isn_arg.script + ISN_STORES, // pop into script variable isn_arg.loadstore + ISN_STORESCRIPT, // pop into script variable isn_arg.script ISN_STOREOPT, // pop into option isn_arg.string ISN_STOREENV, // pop into environment variable isn_arg.string ISN_STOREREG, // pop into register isn_arg.number @@ -191,7 +191,7 @@ typedef struct { // arguments to ISN_LOADS and ISN_STORES typedef struct { - char_u *ls_name; // variable name + char_u *ls_name; // variable name (with s: for ISN_STORES) int ls_sid; // script ID } loadstore_T; |