Mercurial > vim
comparison src/userfunc.c @ 22973:4c97c0747017 v8.2.2033
patch 8.2.2033: Vim9: :def without argument gives compilation error
Commit: https://github.com/vim/vim/commit/6abdcf82859e158713a3d5aa6b1012748ea5c2a0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 22 18:15:44 2020 +0100
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 https://github.com/vim/vim/issues/7344)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Nov 2020 18:30:05 +0100 |
parents | 54219df706b5 |
children | 055fa9db6f39 |
comparison
equal
deleted
inserted
replaced
22972:d2b36acb42dd | 22973:4c97c0747017 |
---|---|
2746 | 2746 |
2747 /* | 2747 /* |
2748 * List functions. When "regmatch" is NULL all of then. | 2748 * List functions. When "regmatch" is NULL all of then. |
2749 * Otherwise functions matching "regmatch". | 2749 * Otherwise functions matching "regmatch". |
2750 */ | 2750 */ |
2751 static void | 2751 void |
2752 list_functions(regmatch_T *regmatch) | 2752 list_functions(regmatch_T *regmatch) |
2753 { | 2753 { |
2754 int changed = func_hashtab.ht_changed; | 2754 int changed = func_hashtab.ht_changed; |
2755 long_u todo = func_hashtab.ht_used; | 2755 long_u todo = func_hashtab.ht_used; |
2756 hashitem_T *hi; | 2756 hashitem_T *hi; |