Mercurial > vim
comparison src/userfunc.c @ 32489:d6055989fa27 v9.0.1576
patch 9.0.1576: users may not know what to do with an internal error
Commit: https://github.com/vim/vim/commit/097c5370ea8abab17ceb0f3bcd74f57b1655c7f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 24 21:02:24 2023 +0100
patch 9.0.1576: users may not know what to do with an internal error
Problem: Users may not know what to do with an internal error.
Solution: Add a translated message with instructions.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 May 2023 22:15:06 +0200 |
parents | 87f59a64efab |
children | feb9a581eb00 |
comparison
equal
deleted
inserted
replaced
32488:dab4184aaff9 | 32489:d6055989fa27 |
---|---|
3245 | 3245 |
3246 void | 3246 void |
3247 restore_funccal(void) | 3247 restore_funccal(void) |
3248 { | 3248 { |
3249 if (funccal_stack == NULL) | 3249 if (funccal_stack == NULL) |
3250 iemsg("INTERNAL: restore_funccal()"); | 3250 internal_error("restore_funccal()"); |
3251 else | 3251 else |
3252 { | 3252 { |
3253 current_funccal = funccal_stack->top_funccal; | 3253 current_funccal = funccal_stack->top_funccal; |
3254 funccal_stack = funccal_stack->next; | 3254 funccal_stack = funccal_stack->next; |
3255 } | 3255 } |