Mercurial > vim
comparison src/vim9compile.c @ 21485:afc8cc1a291f v8.2.1293
patch 8.2.1293: Vim9: error when using vim9script in TextYankPost
Commit: https://github.com/vim/vim/commit/2d6b20d6a9a034b39f79a7dbb889fb5d859583ae
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 25 19:30:59 2020 +0200
patch 8.2.1293: Vim9: error when using vim9script in TextYankPost
Problem: Vim9: error when using vim9script in TextYankPost.
Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
be used when text is locked. (closes #6529)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 Jul 2020 19:45:04 +0200 |
parents | 8bcd1ee2630b |
children | 574517d682cf |
comparison
equal
deleted
inserted
replaced
21484:eeea3ab1fe04 | 21485:afc8cc1a291f |
---|---|
3753 *arg = next; | 3753 *arg = next; |
3754 p = skipwhite(*arg); | 3754 p = skipwhite(*arg); |
3755 } | 3755 } |
3756 } | 3756 } |
3757 | 3757 |
3758 if (*p == '(') | 3758 // Do not skip over white space to find the "(", "exeucte 'x' ()" is |
3759 // not a function call. | |
3760 if (**arg == '(') | |
3759 { | 3761 { |
3760 garray_T *stack = &cctx->ctx_type_stack; | 3762 garray_T *stack = &cctx->ctx_type_stack; |
3761 type_T *type; | 3763 type_T *type; |
3762 int argcount = 0; | 3764 int argcount = 0; |
3763 | 3765 |