comparison src/vim9.h @ 24645:668df21d8bc6 v8.2.2861

patch 8.2.2861: Vim9: "legacy return" is not recognized as a return statement Commit: https://github.com/vim/vim/commit/3b1373b193ce5fbf25e852277a4ecc98688c7bb8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 17 00:01:42 2021 +0200 patch 8.2.2861: Vim9: "legacy return" is not recognized as a return statement Problem: Vim9: "legacy return" is not recognized as a return statement. Solution: Specifically check for a return command. (closes https://github.com/vim/vim/issues/8213)
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 May 2021 00:15:03 +0200
parents a4fda40e0bb9
children 7c1375eb1636
comparison
equal deleted inserted replaced
24644:20eabe0f4d72 24645:668df21d8bc6
12 */ 12 */
13 13
14 typedef enum { 14 typedef enum {
15 ISN_EXEC, // execute Ex command line isn_arg.string 15 ISN_EXEC, // execute Ex command line isn_arg.string
16 ISN_EXECCONCAT, // execute Ex command from isn_arg.number items on stack 16 ISN_EXECCONCAT, // execute Ex command from isn_arg.number items on stack
17 ISN_LEGACY_EVAL, // evaluate expression isn_arg.string with legacy syntax.
17 ISN_ECHO, // echo isn_arg.echo.echo_count items on top of stack 18 ISN_ECHO, // echo isn_arg.echo.echo_count items on top of stack
18 ISN_EXECUTE, // execute Ex commands isn_arg.number items on top of stack 19 ISN_EXECUTE, // execute Ex commands isn_arg.number items on top of stack
19 ISN_ECHOMSG, // echo Ex commands isn_arg.number items on top of stack 20 ISN_ECHOMSG, // echo Ex commands isn_arg.number items on top of stack
20 ISN_ECHOERR, // echo Ex commands isn_arg.number items on top of stack 21 ISN_ECHOERR, // echo Ex commands isn_arg.number items on top of stack
21 ISN_RANGE, // compute range from isn_arg.string, push to stack 22 ISN_RANGE, // compute range from isn_arg.string, push to stack