Mercurial > vim
comparison src/version.c @ 20943:1693ca876049 v8.2.1023
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Commit: https://github.com/vim/vim/commit/0cb5bcf5836de83f7d64fb01d3ce708caacaf66c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 18:19:09 2020 +0200
patch 8.2.1023: Vim9: redefining a function uses a new index every time
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 18:30:04 +0200 |
parents | 505d97ea54da |
children | 0653b9b72091 |
comparison
equal
deleted
inserted
replaced
20942:484ce6d14734 | 20943:1693ca876049 |
---|---|
752 NULL | 752 NULL |
753 }; | 753 }; |
754 | 754 |
755 static int included_patches[] = | 755 static int included_patches[] = |
756 { /* Add new patch number below this line */ | 756 { /* Add new patch number below this line */ |
757 /**/ | |
758 1023, | |
757 /**/ | 759 /**/ |
758 1022, | 760 1022, |
759 /**/ | 761 /**/ |
760 1021, | 762 1021, |
761 /**/ | 763 /**/ |