comparison src/errors.h @ 33383:5c12ca4dcd45 v9.0.1950

patch 9.0.1950: Vim9: error codes spread out Commit: https://github.com/vim/vim/commit/413f83990f15d5d59d27ab741670f527a7a3feb8 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Sep 28 22:46:37 2023 +0200 patch 9.0.1950: Vim9: error codes spread out Problem: Vim9: error codes spread out Solution: group them together and reserve 100 more for future use Reserve 100 error codes for future enhancements to the Vim9 class support closes: #13207 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Sep 2023 23:00:03 +0200
parents 7c9124711f99
children b5ad84fdc702
comparison
equal deleted inserted replaced
33382:0ca269de511d 33383:5c12ca4dcd45
3530 EXTERN char e_missing_name_after_implements[] 3530 EXTERN char e_missing_name_after_implements[]
3531 INIT(= N_("E1389: Missing name after implements")); 3531 INIT(= N_("E1389: Missing name after implements"));
3532 EXTERN char e_cannot_use_an_object_variable_except_with_the_new_method_str[] 3532 EXTERN char e_cannot_use_an_object_variable_except_with_the_new_method_str[]
3533 INIT(= N_("E1390: Cannot use an object variable \"this.%s\" except with the \"new\" method")); 3533 INIT(= N_("E1390: Cannot use an object variable \"this.%s\" except with the \"new\" method"));
3534 #endif 3534 #endif
3535 // E1391 - E1499 unused (reserved for Vim9 class support)
3535 EXTERN char e_cannot_mix_positional_and_non_positional_str[] 3536 EXTERN char e_cannot_mix_positional_and_non_positional_str[]
3536 INIT(= N_("E1400: Cannot mix positional and non-positional arguments: %s")); 3537 INIT(= N_("E1500: Cannot mix positional and non-positional arguments: %s"));
3537 EXTERN char e_fmt_arg_nr_unused_str[] 3538 EXTERN char e_fmt_arg_nr_unused_str[]
3538 INIT(= N_("E1401: format argument %d unused in $-style format: %s")); 3539 INIT(= N_("E1501: format argument %d unused in $-style format: %s"));
3539 EXTERN char e_positional_num_field_spec_reused_str_str[] 3540 EXTERN char e_positional_num_field_spec_reused_str_str[]
3540 INIT(= N_("E1402: Positional argument %d used as field width reused as different type: %s/%s")); 3541 INIT(= N_("E1502: Positional argument %d used as field width reused as different type: %s/%s"));
3541 EXTERN char e_positional_nr_out_of_bounds_str[] 3542 EXTERN char e_positional_nr_out_of_bounds_str[]
3542 INIT(= N_("E1403: Positional argument %d out of bounds: %s")); 3543 INIT(= N_("E1503: Positional argument %d out of bounds: %s"));
3543 EXTERN char e_positional_arg_num_type_inconsistent_str_str[] 3544 EXTERN char e_positional_arg_num_type_inconsistent_str_str[]
3544 INIT(= N_("E1404: Positional argument %d type used inconsistently: %s/%s")); 3545 INIT(= N_("E1504: Positional argument %d type used inconsistently: %s/%s"));
3545 EXTERN char e_invalid_format_specifier_str[] 3546 EXTERN char e_invalid_format_specifier_str[]
3546 INIT(= N_("E1405: Invalid format specifier: %s")); 3547 INIT(= N_("E1505: Invalid format specifier: %s"));
3547 EXTERN char e_aptypes_is_null_nr_str[] 3548 EXTERN char e_aptypes_is_null_nr_str[]
3548 INIT(= "E1408: Internal error: ap_types or ap_types[idx] is NULL: %d: %s"); 3549 INIT(= "E1520: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");
3549 // E1391 - E1399 unused 3550
3551 // E1506 - E1519 unused