comparison src/vim9.h @ 20244:23d75968ca5e

patch 8.2.0677: Vim9: no support for closures Commit: https://github.com/vim/vim/commit/c8cd2b34d1027c93fbca90f3cdc8123fe22dfa25 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 1 19:29:08 2020 +0200 patch 8.2.0677: Vim9: no support for closures Problem: Vim9: no support for closures. Solution: Find variables in the outer function scope, so long as the scope exists.
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 May 2020 19:30:04 +0200
parents 0612c64a2b87
children e46e72aaff74
comparison
equal deleted inserted replaced
20243:6e7fd8949651 20244:23d75968ca5e
25 ISN_LOADG, // push g: variable isn_arg.string 25 ISN_LOADG, // push g: variable isn_arg.string
26 ISN_LOADB, // push b: variable isn_arg.string 26 ISN_LOADB, // push b: variable isn_arg.string
27 ISN_LOADW, // push w: variable isn_arg.string 27 ISN_LOADW, // push w: variable isn_arg.string
28 ISN_LOADT, // push t: variable isn_arg.string 28 ISN_LOADT, // push t: variable isn_arg.string
29 ISN_LOADS, // push s: variable isn_arg.loadstore 29 ISN_LOADS, // push s: variable isn_arg.loadstore
30 ISN_LOADOUTER, // push variable from outer scope isn_arg.number
30 ISN_LOADSCRIPT, // push script-local variable isn_arg.script. 31 ISN_LOADSCRIPT, // push script-local variable isn_arg.script.
31 ISN_LOADOPT, // push option isn_arg.string 32 ISN_LOADOPT, // push option isn_arg.string
32 ISN_LOADENV, // push environment variable isn_arg.string 33 ISN_LOADENV, // push environment variable isn_arg.string
33 ISN_LOADREG, // push register isn_arg.number 34 ISN_LOADREG, // push register isn_arg.number
34 35