mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 12:38:33 +00:00
vim-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.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de>
This commit is contained in:

committed by
James McCoy

parent
6ff13d78b7
commit
d5bce42b52
@@ -340,7 +340,7 @@ int encode_read_from_list(ListReaderState *const state, char *const buf,
|
||||
do { \
|
||||
const char *const fun_ = (const char *)(fun); \
|
||||
if (fun_ == NULL) { \
|
||||
EMSG2(_(e_intern2), "string(): NULL function name"); \
|
||||
internal_error("string(): NULL function name"); \
|
||||
ga_concat(gap, "function(NULL"); \
|
||||
} else { \
|
||||
ga_concat(gap, "function("); \
|
||||
|
Reference in New Issue
Block a user