Mercurial > vim
comparison src/version.c @ 9626:172131507c85 v7.4.2090
commit https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 22 21:50:18 2016 +0200
patch 7.4.2090
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 22 Jul 2016 22:00:07 +0200 |
parents | d63b85fe3dc7 |
children | fefd0551aa9d |
comparison
equal
deleted
inserted
replaced
9625:4c2524dd2403 | 9626:172131507c85 |
---|---|
756 NULL | 756 NULL |
757 }; | 757 }; |
758 | 758 |
759 static int included_patches[] = | 759 static int included_patches[] = |
760 { /* Add new patch number below this line */ | 760 { /* Add new patch number below this line */ |
761 /**/ | |
762 2090, | |
761 /**/ | 763 /**/ |
762 2089, | 764 2089, |
763 /**/ | 765 /**/ |
764 2088, | 766 2088, |
765 /**/ | 767 /**/ |