comparison src/globals.h @ 26857:2aeea8611342 v8.2.3957

patch 8.2.3957: error messages are spread out Commit: https://github.com/vim/vim/commit/1a9922243a90f213894d5c58cd063465eea3350f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 31 17:25:48 2021 +0000 patch 8.2.3957: 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 Fri, 31 Dec 2021 18:30:03 +0100
parents 806f31579357
children bce848ec8b1b
comparison
equal deleted inserted replaced
26856:ecd25f651e29 26857:2aeea8611342
1604 * Excluded are errors that are only used once and debugging messages. 1604 * Excluded are errors that are only used once and debugging messages.
1605 */ 1605 */
1606 EXTERN char e_abort[] INIT(= N_("E470: Command aborted")); 1606 EXTERN char e_abort[] INIT(= N_("E470: Command aborted"));
1607 EXTERN char e_argreq[] INIT(= N_("E471: Argument required")); 1607 EXTERN char e_argreq[] INIT(= N_("E471: Argument required"));
1608 #ifdef FEAT_EVAL 1608 #ifdef FEAT_EVAL
1609 EXTERN char e_endif[] INIT(= N_("E171: Missing :endif"));
1610 EXTERN char e_catch[] INIT(= N_("E603: :catch without :try")); 1609 EXTERN char e_catch[] INIT(= N_("E603: :catch without :try"));
1611 EXTERN char e_finally[] INIT(= N_("E606: :finally without :try")); 1610 EXTERN char e_finally[] INIT(= N_("E606: :finally without :try"));
1612 EXTERN char e_finally_dup[] INIT(= N_("E607: multiple :finally")); 1611 EXTERN char e_finally_dup[] INIT(= N_("E607: multiple :finally"));
1613 EXTERN char e_endtry[] INIT(= N_("E600: Missing :endtry")); 1612 EXTERN char e_endtry[] INIT(= N_("E600: Missing :endtry"));
1614 EXTERN char e_no_endtry[] INIT(= N_("E602: :endtry without :try")); 1613 EXTERN char e_no_endtry[] INIT(= N_("E602: :endtry without :try"));
1615 EXTERN char e_endwhile[] INIT(= N_("E170: Missing :endwhile"));
1616 EXTERN char e_endfor[] INIT(= N_("E170: Missing :endfor"));
1617 EXTERN char e_while[] INIT(= N_("E588: :endwhile without :while")); 1614 EXTERN char e_while[] INIT(= N_("E588: :endwhile without :while"));
1618 EXTERN char e_for[] INIT(= N_("E588: :endfor without :for")); 1615 EXTERN char e_for[] INIT(= N_("E588: :endfor without :for"));
1619 #endif 1616 #endif
1620 EXTERN char e_failed[] INIT(= N_("E472: Command failed")); 1617 EXTERN char e_failed[] INIT(= N_("E472: Command failed"));
1621 #if defined(FEAT_GUI) && defined(FEAT_XFONTSET) 1618 #if defined(FEAT_GUI) && defined(FEAT_XFONTSET)