summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-01 19:29:08 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-01 19:29:08 +0200
commitc8cd2b34d1027c93fbca90f3cdc8123fe22dfa25 (patch)
treef0b598e62075135cb334c356d6404908d37ae8f9 /src/vim9.h
parent37addecc422c3b62a622b371246dc4ef0a2fa157 (diff)
downloadvim-git-c8cd2b34d1027c93fbca90f3cdc8123fe22dfa25.tar.gz
patch 8.2.0677: Vim9: no support for closuresv8.2.0677
Problem: Vim9: no support for closures. Solution: Find variables in the outer function scope, so long as the scope exists.
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h
index ddc84b1e7..9269aa938 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -27,6 +27,7 @@ typedef enum {
ISN_LOADW, // push w: variable isn_arg.string
ISN_LOADT, // push t: variable isn_arg.string
ISN_LOADS, // push s: variable isn_arg.loadstore
+ ISN_LOADOUTER, // push variable from outer scope isn_arg.number
ISN_LOADSCRIPT, // push script-local variable isn_arg.script.
ISN_LOADOPT, // push option isn_arg.string
ISN_LOADENV, // push environment variable isn_arg.string