diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-17 00:01:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-17 00:01:42 +0200 |
commit | 3b1373b193ce5fbf25e852277a4ecc98688c7bb8 (patch) | |
tree | 5d8343ef3e9a3ecac8618b4846fc24fec7d50797 /src/vim9.h | |
parent | 1764faa38645a559172e9a31f08447385835de81 (diff) | |
download | vim-git-3b1373b193ce5fbf25e852277a4ecc98688c7bb8.tar.gz |
patch 8.2.2861: Vim9: "legacy return" is not recognized as a return statementv8.2.2861
Problem: Vim9: "legacy return" is not recognized as a return statement.
Solution: Specifically check for a return command. (closes #8213)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 9f45ea412..b260bdf1f 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -14,6 +14,7 @@ typedef enum { ISN_EXEC, // execute Ex command line isn_arg.string ISN_EXECCONCAT, // execute Ex command from isn_arg.number items on stack + 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 |