0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.2033: Vim9: :def without argument gives compilation error

Problem:    Vim9: :def without argument gives compilation error.
Solution:   Add the DEF instruction. (closes #7344)
This commit is contained in:
Bram Moolenaar
2020-11-22 18:15:44 +01:00
parent dcbab75db3
commit 6abdcf8285
9 changed files with 127 additions and 9 deletions

View File

@@ -2748,7 +2748,7 @@ untrans_function_name(char_u *name)
* List functions. When "regmatch" is NULL all of then.
* Otherwise functions matching "regmatch".
*/
static void
void
list_functions(regmatch_T *regmatch)
{
int changed = func_hashtab.ht_changed;