Mercurial > vim
comparison src/ex_eval.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | bce848ec8b1b |
children | 612339679616 |
comparison
equal
deleted
inserted
replaced
26882:196f4d7e2a38 | 26883:7f150a4936f2 |
---|---|
1768 && !(cstack->cs_flags[idx] & CSF_CAUGHT)) | 1768 && !(cstack->cs_flags[idx] & CSF_CAUGHT)) |
1769 { | 1769 { |
1770 if (end != NULL && *end != NUL | 1770 if (end != NULL && *end != NUL |
1771 && !ends_excmd2(end, skipwhite(end + 1))) | 1771 && !ends_excmd2(end, skipwhite(end + 1))) |
1772 { | 1772 { |
1773 semsg(_(e_trailing_arg), end); | 1773 semsg(_(e_trailing_characters_str), end); |
1774 return; | 1774 return; |
1775 } | 1775 } |
1776 | 1776 |
1777 // When debugging or a breakpoint was encountered, display the | 1777 // When debugging or a breakpoint was encountered, display the |
1778 // debug prompt (if not already done) before checking for a match. | 1778 // debug prompt (if not already done) before checking for a match. |