Mercurial > vim
comparison src/vim9compile.c @ 21158:157fe2d26e16 v8.2.1130
patch 8.2.1130: Vim9: bar not recognized after function call
Commit: https://github.com/vim/vim/commit/788123c00c4b7acc4e6ba3e9f1cc8b175ae9aae8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 5 15:32:17 2020 +0200
patch 8.2.1130: Vim9: bar not recognized after function call
Problem: Vim9: bar not recognized after function call
Solution: Skip whitespace. (closes https://github.com/vim/vim/issues/6391)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jul 2020 15:45:03 +0200 |
parents | eb6c27af07dd |
children | 1a393685e7ce |
comparison
equal
deleted
inserted
replaced
21157:151e1935e327 | 21158:157fe2d26e16 |
---|---|
6983 if (compile_expr0(&p, &cctx) == FAIL) | 6983 if (compile_expr0(&p, &cctx) == FAIL) |
6984 goto erret; | 6984 goto erret; |
6985 | 6985 |
6986 // drop the return value | 6986 // drop the return value |
6987 generate_instr_drop(&cctx, ISN_DROP, 1); | 6987 generate_instr_drop(&cctx, ISN_DROP, 1); |
6988 line = p; | 6988 |
6989 line = skipwhite(p); | |
6989 continue; | 6990 continue; |
6990 } | 6991 } |
6991 // CMD_let cannot happen, compile_assignment() above is used | 6992 // CMD_let cannot happen, compile_assignment() above is used |
6992 iemsg("Command from find_ex_command() not handled"); | 6993 iemsg("Command from find_ex_command() not handled"); |
6993 goto erret; | 6994 goto erret; |