Browse Source

Compiler message typo fixes.

Margers 2 weeks ago
parent
commit
ca0f47187e
5 changed files with 17 additions and 17 deletions
  1. 1 1
      compiler/msg/errord.msg
  2. 1 1
      compiler/msg/errordu.msg
  3. 13 13
      compiler/msg/errore.msg
  4. 1 1
      compiler/msg/errorzh.msg
  5. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/msg/errord.msg

@@ -1698,7 +1698,7 @@ parser_e_location_regpair_only_data=03358_E_Nur Daten-Register werden f
 % AmigaOS/MorphOS syscall specific: for 64 bit register pairs, only data registers are supported
 parser_e_location_regpair_only_consecutive=03359_E_Nur aufeinander folgende Register werden f�r explizite "location" Registerpaare unterst�tzt
 % MorphOS syscall specific: only consecutive (f.e.: d1-d2) registers are supported for 64 bit register pairs
-parser_e_constructurs_cannot_take_type_parameters=03360_E_Konstruktoren k”nnen keine Type-Parameter �bernehmen
+parser_e_constructors_cannot_take_type_parameters=03360_E_Konstruktoren k”nnen keine Type-Parameter �bernehmen
 % The use of type parameters in constructors is not allowed.
 parser_e_raise_with_noreturn_not_allowed=03361_E_Deklaration von Raise in einer Subroutine als noreturn ist nicht erlaubt
 % \var{noreturn} tells the compiler that the activation scope of the subroutine is never left. This includes exceptions

+ 1 - 1
compiler/msg/errordu.msg

@@ -1697,7 +1697,7 @@ parser_e_location_regpair_only_data=03358_E_Nur Daten-Register werden für expli
 % AmigaOS/MorphOS syscall specific: for 64 bit register pairs, only data registers are supported
 parser_e_location_regpair_only_consecutive=03359_E_Nur aufeinander folgende Register werden für explizite "location" Registerpaare unterstützt
 % MorphOS syscall specific: only consecutive (f.e.: d1-d2) registers are supported for 64 bit register pairs
-parser_e_constructurs_cannot_take_type_parameters=03360_E_Konstruktoren können keine Type-Parameter übernehmen
+parser_e_constructors_cannot_take_type_parameters=03360_E_Konstruktoren können keine Type-Parameter übernehmen
 % The use of type parameters in constructors is not allowed.
 parser_e_raise_with_noreturn_not_allowed=03361_E_Deklaration von Raise in einer Subroutine als noreturn ist nicht erlaubt
 % \var{noreturn} tells the compiler that the activation scope of the subroutine is never left. This includes exceptions

+ 13 - 13
compiler/msg/errore.msg

@@ -39,7 +39,7 @@
 #   n_   note
 #   h_   hint
 #   i_   info
-#   l_   add linenumber
+#   l_   add line number
 #   u_   used
 #   t_   tried
 #   c_   conditional
@@ -194,7 +194,7 @@ scan_f_syn_expected=02003_F_Syntax error, "$1" expected but "$2" found
 % This indicates that the compiler expected a different token than
 % the one you typed. It can occur almost anywhere it is possible to make an error
 % against the Pascal language.
-scan_t_start_include_file=02004_TL_Start reading includefile $1
+scan_t_start_include_file=02004_TL_Start reading include file $1
 % When you provide the \var{-vt} switch, the compiler tells you
 % when it starts reading an included file.
 scan_w_comment_level=02005_W_Comment level $1 found
@@ -1550,7 +1550,7 @@ parser_d_internal_parser_string=03319_D_Parsing internally generated code: $1
 parser_e_feature_unsupported_for_vm=03320_E_This language feature is not supported on managed VM targets
 % Certain language features are not supported on targets that are managed virtual machines.
 parser_e_jvm_invalid_virtual_constructor_call=03321_E_Calling a virtual constructor for the current instance inside another constructor is not possible on the JVM target
-% The JVM does not natively support virtual constructor. Unforunately, we are not aware of a way to
+% The JVM does not natively support virtual constructor. Unfortunately, we are not aware of a way to
 % emulate them in a way that makes it possible to support calling virtual constructors
 % for the current instance inside another constructor.
 parser_e_method_lower_visibility=03322_E_Overriding method "$1" cannot have a lower visibility ($2) than in parent class $3 ($4)
@@ -1683,7 +1683,7 @@ parser_e_location_regpair_only_data=03358_E_Only data registers are supported fo
 % AmigaOS/MorphOS syscall specific: for 64 bit register pairs, only data registers are supported
 parser_e_location_regpair_only_consecutive=03359_E_Only consecutive registers are supported for explicit location register pairs
 % MorphOS syscall specific: only consecutive (f.e.: d1-d2) registers are supported for 64 bit register pairs
-parser_e_constructurs_cannot_take_type_parameters=03360_E_Constructors cannot take type parameters
+parser_e_constructors_cannot_take_type_parameters=03360_E_Constructors cannot take type parameters
 % The use of type parameters in constructors is not allowed.
 parser_e_raise_with_noreturn_not_allowed=03361_E_Raise in subroutines declared as noreturn is not allowed
 % \var{noreturn} tells the compiler that the activation scope of the subroutine is never left. This includes exceptions
@@ -2431,7 +2431,7 @@ sym_e_formal_class_not_resolved=05080_E_No full definition of the formally decla
 % access one of its fields, send a message to it, or use it to inherit from), the compiler requires the full definition
 % of the class to be in scope.
 sym_e_interprocgoto_into_init_final_code_not_allowed=05081_E_Gotos into initialization or finalization blocks of units are not allowed
-% Gotos into initialization or finalization blockse of units are not allowed.
+% Gotos into initialization or finalization blocks of units are not allowed.
 sym_e_external_class_name_mismatch1=05082_E_Invalid external name "$1" for formal class "$2"
 sym_e_external_class_name_mismatch2=05083_E_Complete class definition with external name "$1" here
 % When a class is declared using a formal external definition, the actual external
@@ -2651,7 +2651,7 @@ cg_h_inherited_ignored=06048_H_Inherited call to abstract method ignored
 % of a parent class via \var{inherited;}. The call is then ignored.
 cg_e_goto_label_not_found=06049_E_Goto label "$1" not defined or optimized away
 % The label used in the goto definition is not defined or optimized away by the
-% unreachable code elemination.
+% unreachable code elimination.
 cg_f_unknown_type_in_unit=06050_F_Cannot find type "$1" in unit "$2". Check if you use the correct run time library.
 % The compiler expects that the runtime library contains certain type definitions. If you see this error
 % and you didn't change the runtime library code, it's very likely that the runtime library
@@ -2664,7 +2664,7 @@ cg_e_labels_cannot_defined_outside_declaration_scope=06052_E_Label must be defin
 % In ISO mode, labels must be defined in the same scope as they are declared.
 cg_e_goto_across_procedures_with_exceptions_not_allowed=06053_E_Leaving procedures containing explicit or implicit exceptions frames using goto is not allowed
 % Non-local gotos might not be used to leave procedures using exceptions either implicitly or explicitly. Procedures
-% which use automated types like ansistrings or class constructurs are affected by this too.
+% which use automated types like ansistrings or class constructors are affected by this too.
 cg_e_mod_only_defined_for_pos_quotient=06054_E_In ISO mode, the mod operator is defined only for positive quotient
 % In ISO pascal, only positive values are allowed for the quotient: \var{n mod m} is only valid if \var{m>0}.
 cg_d_autoinlining=06055_DL_Auto inlining: $1
@@ -2984,10 +2984,10 @@ asmr_e_wrong_gotpcrel_intel_syntax=07117_E_GOTPCREL references in Intel assemble
 % \verb*[global_symbol wrt ..gotpcrel]*
 asmr_e_no_gotpcrel_support=07118_E_The current target does not support GOTPCREL relocations
 % Not all targets support position-independent code using a global offset table.
-% Use a different way to access symbols in a position-indepent way in these cases.
+% Use a different way to access symbols in a position-independent way in these cases.
 asmr_w_global_access_without_got=07119_W_Exported/global symbols should be accessed via the GOT
 % Global symbols (symbols from the unit interface, or defined in a program
-% or library) should be accessed via the GOT when generating position-indepent code.
+% or library) should be accessed via the GOT when generating position-independent code.
 asmr_w_check_mem_operand_size=07120_W_Check size of memory operand "$1"
 % The size of memory operand is possible invalid. This is
 % probably an error in the assembler statement
@@ -3700,7 +3700,7 @@ option_debug_external_unsupported=11048_W_Disabling external debug information b
 % Not all debug formats can be stored in an external file on all platforms. In particular, on
 % Mac OS X only DWARF debug information can be stored externally.
 option_dwarf_smartlink_creation=11049_N_DWARF debug information cannot be used with smart linking with external assembler, disabling static library creation.
-% Smart linking is currently incompatble with DWARF debug information on most
+% Smart linking is currently incompatible with DWARF debug information on most
 % platforms, so smart linking is disabled in such cases.
 option_invalid_macosx_deployment_target=11050_E_Invalid value for MACOSX_DEPLOYMENT_TARGET environment variable: $1
 option_invalid_iphoneos_deployment_target=11051_E_Invalid value for IPHONEOS_DEPLOYMENT_TARGET environment variable: $1
@@ -3720,7 +3720,7 @@ option_malformed_para=11055_E_Malformed parameter: $1
 option_smart_link_requires_external_linker=11056_W_Smart linking requires external linker
 option_com_files_require_tiny_model=11057_E_Creating .COM files is not supported in the current memory model. Only the tiny memory model supports making .COM files.
 % Do not enable experimental -gc option if -Ur option is given.
-option_gc_incompatible_with_release_flag=11058_W_Experimental CheckPointer option not enabled because it is incomptatible with -Ur option.
+option_gc_incompatible_with_release_flag=11058_W_Experimental CheckPointer option not enabled because it is incompatible with -Ur option.
 % The compiler binary only supports a single target architecture. Invoke the fpc binary if you wish to select a compiler binary for a different target architecture.
 option_invalid_target_architecture=11059_E_Unsupported target architecture -P$1, invoke the "fpc" compiler driver instead.
 % The ppc<target> executables support only a single target architecture. They do not support the -P switch. The compiler driver "fpc"
@@ -4030,7 +4030,7 @@ F*0*_Only options valid for the default or selected platform are listed.
 # Assembler related options
 **1a_The compiler does not delete the generated assembler file, automatically switches to external assembler writer
 **2a5_Don't generate Big Obj COFF files for GNU Binutils older than 2.25 (Windows, NativeNT)
-**2al_List sourcecode lines in assembler file
+**2al_List source code lines in assembler file
 **2an_List node info in assembler file (-dEXTDEBUG compiler)
 **2ao_Add an extra option to external assembler call (ignored for internal)
 *L2ap_Use pipes instead of creating temporary assembler files
@@ -4474,7 +4474,7 @@ W*2Twasip2_The WebAssembly System Interface Preview 2 (WASI 0.2) (experimental)
 **2*_i : Show general info
 **2*_j : Always add main source (useful when run in parallel make)
 #**2*_k : Not used yet
-**2*_l : Show linenumbers
+**2*_l : Show line numbers
 **2*_m<x>,<y> : Do not show messages numbered <x> and <y>
 **2*_n : Show notes
 #**2*_o : Not used yet

+ 1 - 1
compiler/msg/errorzh.msg

@@ -1415,7 +1415,7 @@ parser_e_location_regpair_only_data=03358_E_显式位置寄存器对只支持数
 % AmigaOS/MorphOS 系统调用特定:对于 64 位寄存器对,只支持数据寄存器
 parser_e_location_regpair_only_consecutive=03359_E_显式位置寄存器对只支持连续寄存器
 % MorphOS 系统调用特定:64 位寄存器对只支持连续(例如:d1-d2)寄存器
-parser_e_constructurs_cannot_take_type_parameters=03360_E_构造函数不能接受类型参数
+parser_e_constructors_cannot_take_type_parameters=03360_E_构造函数不能接受类型参数
 % 不允许在构造函数中使用类型参数。
 parser_e_raise_with_noreturn_not_allowed=03361_E_在声明为 noreturn 的子程序中不允许 raise
 % \var{noreturn} 告诉编译器子程序的激活范围永远不会离开。这包括异常、

+ 1 - 1
compiler/pdecsub.pas

@@ -1183,7 +1183,7 @@ implementation
           begin
             if potype=potype_constructor then
               begin
-                Message(parser_e_constructurs_cannot_take_type_parameters);
+                Message(parser_e_constructors_cannot_take_type_parameters);
                 genericparams.free;
                 genericparams:=nil;
               end