Mercurial > vim
comparison src/misc2.c @ 15016:c338c91086b9 v8.1.0519
patch 8.1.0519: cannot save and restore the tag stack
commit https://github.com/vim/vim/commit/f49cc60aa802862c595ff619dccc11271633a94b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 11 15:21:05 2018 +0100
patch 8.1.0519: cannot save and restore the tag stack
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 11 Nov 2018 15:30:07 +0100 |
parents | 69d2749a6a2f |
children | 9df130fd5e0d |
comparison
equal
deleted
inserted
replaced
15015:abcfa9dcc93f | 15016:c338c91086b9 |
---|---|
833 } | 833 } |
834 | 834 |
835 #endif /* MEM_PROFILE */ | 835 #endif /* MEM_PROFILE */ |
836 | 836 |
837 #ifdef FEAT_EVAL | 837 #ifdef FEAT_EVAL |
838 static int | 838 int |
839 alloc_does_fail(long_u size) | 839 alloc_does_fail(long_u size) |
840 { | 840 { |
841 if (alloc_fail_countdown == 0) | 841 if (alloc_fail_countdown == 0) |
842 { | 842 { |
843 if (--alloc_fail_repeat <= 0) | 843 if (--alloc_fail_repeat <= 0) |