Mercurial > vim
comparison src/map.c @ 26913:d4e61d61afd9 v8.2.3985
patch 8.2.3985: error messages are spread out
Commit: https://github.com/vim/vim/commit/ac78dd4a352196ca4e6640f8e4caaf126afd49e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 19:25:26 2022 +0000
patch 8.2.3985: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 20:30:04 +0100 |
parents | 06a137af96f8 |
children | 3631d2deb36c |
comparison
equal
deleted
inserted
replaced
26912:e6751c1e2a8e | 26913:d4e61d61afd9 |
---|---|
2704 to = (*mb_ptr2char)(p2); | 2704 to = (*mb_ptr2char)(p2); |
2705 } | 2705 } |
2706 } | 2706 } |
2707 if (to == NUL) | 2707 if (to == NUL) |
2708 { | 2708 { |
2709 semsg(_("E357: 'langmap': Matching character missing for %s"), | 2709 semsg(_(e_langmap_matching_character_missing_for_str), |
2710 transchar(from)); | 2710 transchar(from)); |
2711 return; | 2711 return; |
2712 } | 2712 } |
2713 | 2713 |
2714 if (from >= 256) | 2714 if (from >= 256) |
2726 p = p2; | 2726 p = p2; |
2727 if (p[0] != NUL) | 2727 if (p[0] != NUL) |
2728 { | 2728 { |
2729 if (p[0] != ',') | 2729 if (p[0] != ',') |
2730 { | 2730 { |
2731 semsg(_("E358: 'langmap': Extra characters after semicolon: %s"), p); | 2731 semsg(_(e_langmap_extra_characters_after_semicolon_str), p); |
2732 return; | 2732 return; |
2733 } | 2733 } |
2734 ++p; | 2734 ++p; |
2735 } | 2735 } |
2736 break; | 2736 break; |