summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-07 15:05:47 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-07 15:05:47 +0200
commit7de62623735d228c8f81f6ac8309fe4922822cb2 (patch)
tree136ce2332059e414aa758d1fab6c0dbf673b9fca /src/vim9.h
parent1b154ea121d8374a129c3e30d50fa9742cd5faa1 (diff)
downloadvim-git-7de62623735d228c8f81f6ac8309fe4922822cb2.tar.gz
patch 8.2.3307: Vim9: :echoconsole cannot access local variablesv8.2.3307
Problem: Vim9: :echoconsole cannot access local variables. Solution: Handle like other :echo commands. (closes #8708)
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vim9.h b/src/vim9.h
index 0011a5f7a..da39949fa 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -16,10 +16,11 @@ typedef enum {
ISN_EXECCONCAT, // execute Ex command from isn_arg.number items on stack
ISN_EXEC_SPLIT, // execute Ex command from isn_arg.string split at NL
ISN_LEGACY_EVAL, // evaluate expression isn_arg.string with legacy syntax.
- ISN_ECHO, // echo isn_arg.echo.echo_count items on top of stack
- ISN_EXECUTE, // execute Ex commands isn_arg.number items on top of stack
- ISN_ECHOMSG, // echo Ex commands isn_arg.number items on top of stack
- ISN_ECHOERR, // echo Ex commands isn_arg.number items on top of stack
+ ISN_ECHO, // :echo with isn_arg.echo.echo_count items on top of stack
+ ISN_EXECUTE, // :execute with isn_arg.number items on top of stack
+ ISN_ECHOMSG, // :echomsg with isn_arg.number items on top of stack
+ ISN_ECHOCONSOLE, // :echoconsole with isn_arg.number items on top of stack
+ ISN_ECHOERR, // :echoerr with isn_arg.number items on top of stack
ISN_RANGE, // compute range from isn_arg.string, push to stack
ISN_SUBSTITUTE, // :s command with expression
ISN_INSTR, // instructions compiled from expression