Mercurial > vim
comparison src/if_cscope.c @ 10359:66f1b5bf3fa6 v8.0.0074
commit https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 10 20:01:45 2016 +0100
patch 8.0.0074
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 10 Nov 2016 20:15:05 +0100 |
parents | d52d97bf675e |
children | bd674706408a |
comparison
equal
deleted
inserted
replaced
10358:d85831f406d3 | 10359:66f1b5bf3fa6 |
---|---|
1790 break; | 1790 break; |
1791 case Print: | 1791 case Print: |
1792 cs_print_tags_priv(mp, cp, cnt); | 1792 cs_print_tags_priv(mp, cp, cnt); |
1793 break; | 1793 break; |
1794 default: /* should not reach here */ | 1794 default: /* should not reach here */ |
1795 (void)EMSG(_("E570: fatal error in cs_manage_matches")); | 1795 IEMSG(_("E570: fatal error in cs_manage_matches")); |
1796 return NULL; | 1796 return NULL; |
1797 } | 1797 } |
1798 | 1798 |
1799 return p; | 1799 return p; |
1800 } /* cs_manage_matches */ | 1800 } /* cs_manage_matches */ |