Преглед на файлове

+ new messagefile
* merged optione.msg into errore.msg

peter преди 27 години
родител
ревизия
5eaee9c9ad
променени са 9 файла, в които са добавени 1589 реда и са изтрити 1659 реда
  1. 650 425
      compiler/errorn.msg
  2. 15 8
      compiler/makefile
  3. 74 59
      compiler/messages.pas
  4. 557 481
      compiler/msgidx.inc
  5. 258 109
      compiler/msgtxt.inc
  6. 0 58
      compiler/optidx.inc
  7. 0 162
      compiler/optione.msg
  8. 0 340
      compiler/optmsg.inc
  9. 35 17
      compiler/verbose.pas

+ 650 - 425
compiler/errorn.msg

@@ -1,426 +1,651 @@
-;
-; Dutch messagefile for Free Pascal Compiler
-;
-; The letters until the _ indicate which type of message will be displayed,
-; they are listed in order of importance, combinations may be made. The
-; default when no type is listed is V_Default (=Error)
-;  F - Fatal Error
-;  E - Error
-;  W - Warning
-;  N - Note
-;  H - Hint
-;  I - Info
-;  L - Linenumber
-;  U - Used
-;  T - Tried
-;  M - Macro
-;  P - Procedure
-;  C - Conditional
-;  D - Debug
-; Special cases:
-;  S - Stop the compiler after displaying the message
-;
-; Warning: When this file is loaded at runtime, the comments are also
-;          loaded to the memory
-;
-I_$1 kB vrij
-L_$1 lijnen $2 kB vrij
-I_$1 stream kB gebruikt
-I_$1 EMS kB gebruikt
-I_Compiler: $1
-I_Units gezocht in: $1
-D_Bron OS: $1
-I_Doel OS: $1
-U_Programma pad: $1
-U_GNU C bibliotheek: $1
-I_$1 Lijnen gecompileerd, $2 sec
-;
-; Scanner (also scanner part of the assembler)
-;
-F_Onverwacht einde van bestand
-F_String langer dan regel
-F_ongeldig teken
-F_Taalfout: $2 verwacht in kolom $1
-U_Ingevoegd bestand $1 word geopend
-W_Commentaar diepte $1 gevonden
-N_$F directive (FAR) genegeerd
-N_Stapeloverloop test is globaal onder linux
-W_Foutieve compiler schakelaar
-W_Deze compiler schakelaar heeft ook een globaal effect
-E_Foutieve constante voor een karakter
-F_kan bestand niet openen
-F_Kan ingevoerd bestand niet openen $1
-E_Te veel $ENDIFs of $ELSEs
-W_Record velden kunnen maar op 1,2 of 4 bytes uitgelijnd worden.
-E_$ENDIF verwacht voor $1 op $2 $3
-E_Taalfout bij het compileren van een conditionele compilatie uitdrukking
-E_Evalueren van een conditionele compilatie uitdrukking
-W_Macro inhoud is afgsneden op 255 karakters voor evaluatie
-E_ENDIF zonder IF(N)DEF
-F_Gebruiker definitie: $1
-E_Gebruiker definitie: $1
-W_Gebruiker definitie: $1
-N_Gebruiker definitie: $1
-H_Gebruiker definitie: $1
-I_Gebruiker definitie: $1
-E_Sleutelwoord herdefinieren als macro heeft geen effect
-F_Macro buffer overflow bij lezen of expanderen van macro
-W_Expansie van macro meer dan 16 niveus diep, waarschijnlijk een recursieve macro
-E_compiler schakelaar is niet toegestaan in (* ... *) commentaar
-D_Behandel schakelaar "$1"
-C_ENDIF $1 gevonden
-C_IFDEF $1 gevonden, $2
-C_IFOPT $1 gevonden, $2
-C_IF $1 gevonden, $2
-C_IFNDEF $1 gevonden, $2
-C_ELSE $1 gevonden, $2
-C_Negeer tot...
-I_Druk <return> om voort te gaan
-;
-; Parser
-;
-E_Parser - Syntax fout
-W_Procedure type FAR genegeerd
-W_Procedure type NEAR genegeerd
-E_geen DLL File opgegeven
-E_Constructor naam moet INIT zijn
-E_Destructor name moet DONE zijn
-E_Foutieve open parameter
-E_Procedure type INLINE wordt niet ondersteund
-W_Private methodes zijn niet VIRTUAL
-E_Constructor mag niet private or protected zijn
-E_Destructor mag niet private or protected zijn
-N_Class heeft slechts 1 destructor
-E_Lokale class definities zijn niet toegestaan
-E_Anonieme class definities zijn niet toegestaan
-E_Ordinale waarde verwacht
-E_Foutieve parameter lijst
-E_overladen identifieerder is geen functie identifieerder
-E_overladen functies hebben identieke parameterlijst
-E_functie declaratie klopt niet met voorwaartse declaratie $1
-N_Slechts waarden kunnen overgeslagen worden in opsommingstypes
-N_Interface en implementatie namen zijn verschillend
-E_functie meer dan 31 keer genest
-E_Bereikfout bij evalueren constantes
-E_Pointer type verwacht
-E_class type verwacht
-E_Dubbel case geval
-E_Getypeerde constantes van classes zijn niet toegestaan
-E_functie variabelen van meervoudige functies zijn niet toegestaan
-E_string lengte moet tussen 1 en 255 liggen
-W_Gebruik de uitgebreide syntax van DISPOSE en NEW om nieuwe instanties van classes te genereren
-E_class verwacht
-E_methode verwacht
-E_function declaratie komt niet overeen met een methode van deze class
-P_procedure/functie $1 ($2) op lijn $3
-E_Illegale vlottende komma constante
-E_FAIL mag slechts in constructors gebruikt worden
-E_Destructors hebben geen parameters
-E_String types stemmen niet overeen, wegens $V+ modus
-E_Alleen class methodes kunnen gerefereerd met classe methodes
-E_Alleen class methodes togankelijk in classen
-E_Constante en CASE type komen niet overeen
-E_Het symbool kan niet uitgevoerd worden van een bibliotheek
-E_Een virtuele methode moet met OVERRIDE overroepen worden: $1
-E_Er is geen geerfde methode die overroepen kan worden: $1
-E_Er is geen lid om de eigenschap te bereiken
-E_Illegaal symbool voor eigenschap toegang
-E_Kan niet in beschermd veld van een object schrijven
-E_Alle overladen methodse moeten virtueel zijn als 1 virtueel is: $1
-E_Virtuele Overladen methodes moeten hetzelfde resultaat type hebben: $1
-E_EXPORT gedeclareerde functions kunnen niet genest worden.
-E_Methodes kunnen niet geexporteerd worden.
-E_Aanroep per referentie parameters moet overeenstemmende types hebben.
-E_Class is geen ouder class van de huidige class
-E_SELF is alleen toegestaan in methodes.
-E_Methodes kunnen alleen in andere methodes worden aangeroepen met type identifieerder
-E_Ongeldig gebruik van ':'
-E_Bereik fout in set constructor of dubbel set element
-E_Pointer naar class verwacht
-E_Uitdrukking moet een constructor call zijn.
-E_Expression must be destructor call
-E_Type conflict tussen set elementen.
-W_De operator / geeft een resultaat is van type real. Gebruik DIV voor integers.
-E_Ongeldige volgorde van record leden.
-E_Type van uitdrukking moet class of record type zijn.
-E_Procedures kunnen geen resultaat teruggeven.
-E_Constructors en Destructors moeten methodes zijn
-W_Type conversion van floating type to COMP, hetgeen een integer type is.
-E_Operator is niet hergedefineerd
-E_Variable of type indentifieerder verwacht
-E_Re-raise is hier niet mogelijk
-E_De uitgebreide syntax van NEW of DISPOSE is niet toegestaan voor classes
-E_Assembler stemt niet overeen met functieresultaat type
-E_Procedure overladen is afgezet
-E_Deze operator kan niet overladen worden.
-E_Vergelijkings operator moet een boolean type als resultaat hebben.
-E_Enkel virtuele methodes kunnen abstract zijn.
-F_Gebruik van niet ondersteunde optie !
-E_CLASSES and OBJECTS kunnen niet gemengd worden.
-W_Ongekende procedure schakelaar is genegeerd: $1
-E_Absolute kan maar aan een variabele verbonden worden.
-E_Absolute kan slechts aan variabelen of constantes verbonden worden.
-E_Abtracte methodes kunnen niet gedefineerd worden.
-E_Deze overladen procedure kan niet lokaal zijn, (moet geexporteerd worden)
-E_SUCC of PRED op enumeratie types met toekenningen zijn niet mogelijk
-W_Gebruike van Virtuele methods zonder constructor
-M_Macro gedefinieerd: $1
-M_Macro ongedefinieerd: $1
-M_Macro $1 wordt $2
-I_Compilatie van $1
-D_Compilatie van $1 voor de tweede keer.
-E_Array eigenschappen zijn hier niet toegestaan.
-E_Geen eigenschap gevonden om te herdefinieren
-E_Slechts 1 default eigenschap is toegestaan, geerfde default eigenschap in kind gevonden.
-E_Default eigenschappen moeten van type Array zijn.
-;
-; Symbol-table errors/warnings
-;
-N_Lokale variabele $1 schijnt niet geinitialiseerd te zijn !
-E_Identifieerder niet gevonden $1
-F_Interne fout in SymTableStack()
-E_Dubbele identifieerder $1
-E_Onbekende identifieerder $1
-E_Voorwaartse declaratie niet opgelost $1
-F_Type Identifieerder reeds gedefineerd als type
-E_Type identifieerder verwacht
-E_Types stemmen niet overeen
-E_Fout in type defenitie
-E_Type identifieerder niet gedefinieerd
-E_Alleen statische variabelen kunnen gebruikt worden in statische methodes
-E_Ongeldige aanroep van tvarsym.mangledname()
-F_record of class type verwacht
-E_U kan geen vertegenwoordiger van een klasse met abstracte methodes instantieren
-E_Label niet gedefineerd $1
-E_Label foutief gedefineerd
-E_GOTO en LABEL zijn momenteel uitgeschakeld (gebruik -Sg)
-E_Label niet gevonden
-E_identifier is geen label
-E_label is al gedefineerd
-E_Type declaratie van set elementen is foutief
-E_Voorwaartse definitie van klasse niet opgelost $1
-H_Identifier niet gebruikt $1, gedeclareerd in lijn $2
-E_Elementen van set zijn incompatible
-E_Set type verwacht
-W_Resultaat van functie ogeschijnlijk niet present
-E_Onbekend record lid
-N_Locale variabele schijnt niet gebruikt te worden: $1
-E_Geen lid met die naam
-;
-; Codegenerator
-;
-E_BREAK niet toegestaan
-E_CONTINUE niet toegestaan
-E_Uitdrukking te ingewikkeld - overloop van wiskundige processor
-E_Foutieve expressie
-E_Foutieve integer
-E_Foutieve qualifier
-E_Bovengrens < ondergrens
-E_Foutive lusteller
-E_Weet niet welke meervoudige procedure ik moet aanroepen
-E_Parameters gebruiken meer dan 64 kilobyte
-E_Foute type conversie
-E_Files moeten var parameters zijn
-E_U kunt daar geen far pointer gebruiken
-E_Ongeldige aanroep met referentie parameters
-E_procedures die EXPORT gedeclareerd staan kunnen niet aangeroepen worden
-W_Mogelijke illegale aanroep van constructor of destructor 
-N_Inefficiente code
-W_Deze code wordt nooit uitgevoerd
-E_procedure aanroep met stackframe ESP/SP
-E_Abstracte methodes kunnen niet direct aangeroepen worden.
-F_Interne fout in getfloatreg(), allocatie faling
-F_Onbekend vlottende komma type
-F_SecondVecn() basis tweemaal gedefinieerd.
-F_Extended cg68k niet ondersteund
-F_32-bit unsigned niet ondersteund in MC68000 modus
-F_Interne fout in secondinline()
-D_Register $1 gewicht $2 $3
-E_Stack limiet excedeed in local routine
-D_Stack frame wordt niet gemaakt
-;
-; Assembler parsers
-;
-F_Delen door nul in asm evaluator
-F_Evaluator stack overloop
-F_Evaluator stack leegloop
-F_Invalid numeric format in asm evaluator
-F_Invalid Operator in asm evaluator
-F_Unknown error in asm evaluator
-W_Ongeldige numerieke waarde
-E_escape sequence ignored $1
-E_Asm syntax error - Prefix not found
-E_Asm syntax error - Trying to add more than one prefix
-E_Asm syntax error - Opcode not found
-E_Invalid symbol reference
-W_Calling an overload function in an asm
-E_Constant value out of bounds
-E_Non-label pattern contains @
-E_Invalid Operand: $1
-W_Override operator not supported
-E_Error in binary constant: $1
-E_Error in octal constant: $1
-E_Error in hexadecimal constant: $1
-E_Error in integer constant: $1
-E_Invalid labeled opcode
-F_Internal error in Findtype()
-E_Invalid size for MOVSX/MOVZX
-E_16-bit base in 32-bit segment
-E_16-bit index in 32-bit segment
-E_Invalid Opcode
-E_Constant reference not allowed
-W_Fwait can cause emulation problems with emu387
-E_Invalid combination of opcode and operands
-W_Opcode $1 not in table, operands not checked
-F_Internal Error in ConcatOpcode()
-E_Invalid size in reference
-E_Invalid middle sized operand
-E_Invalid three operand opcode
-E_Assembler syntax error
-E_Invalid operand type
-E_Segment overrides not supported
-E_Invalid constant symbol $1
-F_Internal Errror converting binary
-F_Internal Errror converting hexadecimal
-F_Internal Errror converting octal
-E_Invalid constant expression
-E_Unknown identifier: $1
-E_Trying to define an index register more than once
-E_Invalid field specifier
-F_Internal Error in BuildScaling()
-E_Invalid scaling factor
-E_Invalid scaling value
-E_Scaling value only allowed with index
-E_Invalid assembler syntax. No ref with brackets)
-E_Expressions of the form [sreg:reg...] are currently not supported
-E_Trying to define a segment register twice
-E_Trying to define a base register twice
-E_Trying to use a negative index register
-E_Asm syntax error - error in reference
-E_Local symbols not allowed as references
-E_Invalid operand in bracket expression
-E_Invalid symbol name: $1
-E_Invalid Reference syntax
-E_Invalid string as opcode operand: $1
-W_@CODE and @DATA not supported
-E_Null label references are not allowed
-E_Cannot use SELF outside a method
-E_Asm syntax error - Should start with bracket
-E_Asm syntax error - register: $1
-E_SEG and OFFSET not supported
-E_Asm syntax error - in opcode operand
-E_Invalid String expression
-E_Constant expression out of bounds
-F_Internal Error in BuildConstant()
-W_A repeat prefix and a segment override on <= i386 may result in errors if an interrupt occurs
-E_Invalid or missing opcode
-E_Invalid combination of prefix and opcode: $1
-E_Invalid combination of override and opcode: $1
-E_Too many operands on line
-E_Duplicate local symbol: $1
-E_Unknown label identifer: $1
-E_Assemble node syntax error
-E_Undefined local symbol: $1
-D_Starting intel styled assembler parsing...
-D_Finished intel styled assembler parsing...
-E_Not a directive or local symbol: $1
-E_/ at beginning of line not allowed
-E_NOR not supported
-E_Invalid floating point register name
-W_Modulo not supported
-E_Invalid floating point constant: $1
-E_Size suffix and destination register do not match
-E_Internal error in ConcatLabeledInstr()
-W_Floating point binary representation ignored
-W_Floating point hexadecimal representation ignored
-W_Floating point octal representation ignored
-E_Invalid real constant expression
-E_Parenthesis are not allowed
-E_Invalid Reference
-E_Cannot use __SELF outside a method
-E_Cannot use __OLDEBP outside a nested procedure
-W_Identifier $1 supposed external
-E_Invalid segment override expression
-E_Strings not allowed as constants
-D_Starting AT&T styled assembler parsing...
-D_Finished AT&T styled assembler parsing...
-E_Switching sections is not allowed in an assembler block
-E_Invalid global definition
-E_Line separator expected
-W_globl not supported
-W_align not supported
-W_lcomm not supported
-W_comm not supported
-E_Invalid local common definition
-E_Invalid global common definition
-E_local symbol: $1 not found inside asm statement
-E_assembler code not returned to text
-F_internal error in BuildReference()
-E_invalid opcode size
-W_NEAR ignored
-W_FAR ignored
-D_Creating inline asm lookup tables
-W_Using a defined name as a local label
-F_internal error in HandleExtend()
-E_Invalid character: <
-E_Invalid character: >
-E_Unsupported opcode
-E_Increment and Decrement mode not allowed together
-E_Invalid Register list in movem/fmovem
-E_Invalid Register list for opcode
-E_68020+ mode required to assemble
-D_Starting Motorola styled assembler parsing...
-D_Finished Motorola styled assembler parsing...
-W_XDEF not supported
-W_Functions with void return value can't return any value in asm code
-E_Invalid suffix for intel assembler
-E_Extended not supported in this mode
-E_Comp not supported in this mode
-W_You need GNU as version >= 2.81 to compile this MMX code
-;
-; Exec, calls to assembler, linker, binder, libraries
-;
-I_Assembleren (pijp) van $1
-E_Kan geen assembler bestand $1 niet maken
-W_Assembleerder $1 niet gevonden, overschakeling naar externe assemblage
-U_Gebruikte assembler: $1
-W_Fout bij assembleren
-W_Kan assembleerder niet oproepen, overschakeling naar externe assemblage
-I_Assembleren van $1
-W_Linker $1 niet gevonden, oveschakeling naar externe linker
-U_Gebruikte linker: $1
-E_Bestand $1 niet gevonden, linken kan foutlopen !
-W_Error tijdens linken
-W_Kan linker niet oproepen, overschakeling naar extern linken
-I_Linken van $1
-W_binder niet gevonden, overschakeling naar extern binden.
-W_ar niet gevonden, overschakeling naar externe ar
-E_Dynamische bibliotheken niet ondersteund
-I_Afsluiten batch $1
-;
-; Unit handling, PPU file
-;
-U_PPU Laden $1
-D_PPU Tijd: $1
-D_PPU bestand te kort
-D_PPU Ongeldige hoofding (geen PPU aan het begin)
-D_PPU Ongeldige Versie $1
-D_PPU Vlaggen: $1
-D_PPU CRC: $1
-T_PPU Bronbestand: $1
-D_Objectbestand en assemblerbestand zijn ouder als PPU bestand
-D_Objectbestand is ouder dan assembler bestand.
-T_Unit zoeken: $1
-U_Schrijven van $1
-F_Kan geen PPU bestand schrijven
-F_Lezen van PPU bestand
-F_Ongeldig PPU bestand post: $1
-F_PPU Dbx aantal probleem
-E_Ongeldige unit naam: $1
-F_Te veel units
-F_Circulaire unit referentie
-F_Kan unit $1 niet compileren, geen broncode beschikbaar
-W_De systeem unit compileren vereist de -Us schakelaar
-E_$1 Fouten
-F_Er waren fouten bij het compileren van een module, compilatie gestopt.
+#
+#   $Id$
+#   This file is part of the Free Pascal Compiler
+#   Copyright (c) 1998 by the Free Pascal Development team
+#
+#   Dutch Language File for Free Pascal
+#
+#   See the file COPYING.FPC, included in this distribution,
+#   for details about the copyright.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+#
+# The constants are build in the following order:
+# <part>_<type>_<txtidentifier>
+#
+# <part> is the part of the compiler the message is used
+#   assem_    assembler parsing
+#   unit_     unit handling
+#   scan_     scanner
+#   general_  general info
+#   exec_     calls to assembler, linker, binder
+#
+# <type> the type of the message it should normally used for
+#   f_   fatal error
+#   e_   error
+#   w_   warning
+#   n_   note
+#   h_   hint
+#   i_   info
+#   l_   linenumber
+#   u_   used
+#   t_   tried
+#   m_   macro
+#   p_   procedure
+#   c_   conditional
+#   d_   debug message
+#
+
+#
+# General
+#
+general_u_compilername=U_Compiler: $1
+general_d_sourceos=D_Bron OS: $1
+general_i_targetos=I_Doel OS: $1
+general_u_exepath=U_Programma pad: $1
+general_u_unitpath=U_Units pad: $1
+general_u_includepath=U_Include pad: $1
+general_u_librarypath=U_Bibliotheek pad: $1
+general_u_objectpath=U_Object pad: $1
+general_i_abslines_compiled=I_$1 Lijnen gecompileerd, $2 sec
+general_f_no_memory_left=F_Geen geheugen meer vrij
+
+#
+# Scanner
+#
+scan_f_end_of_file=F_Onverwacht einde van bestand
+scan_f_string_exceeds_line=F_String langer dan regel
+scan_f_illegal_char=F_ongeldig teken
+scan_f_syn_expected=F_Taalfout: $2 verwacht in kolom $1
+scan_u_start_include_file=U_Ingevoegd bestand $1 word geopend
+scan_w_comment_level=W_Commentaar diepte $1 gevonden
+scan_n_far_directive_ignored=N_$F directive (FAR) genegeerd
+scan_n_stack_check_global_under_linux=N_Stapeloverloop test is globaal onder linux
+scan_w_illegal_switch=W_Foutieve compiler schakelaar
+scan_w_switch_is_global=W_Deze compiler schakelaar heeft ook een globaal effect
+scan_e_illegal_char_const=E_Foutieve constante voor een karakter
+scan_f_cannot_open_input=F_kan bestand niet openen
+scan_f_cannot_open_includefile=F_Kan ingevoerd bestand niet openen $1
+scan_e_too_much_endifs=E_Te veel $ENDIFs of $ELSEs
+scan_w_only_pack_records=W_Record velden kunnen maar op 1,2 of 4 bytes uitgelijnd worden.
+scan_e_endif_expected=E_$ENDIF verwacht voor $1 op $2 $3
+scan_e_preproc_syntax_error=E_Taalfout bij het compileren van een conditionele compilatie uitdrukking
+scan_e_error_in_preproc_expr=E_Evalueren van een conditionele compilatie uitdrukking
+scan_w_marco_cut_after_255_chars=W_Macro inhoud is afgsneden op 255 karakters voor evaluatie
+scan_e_endif_without_if=E_ENDIF zonder IF(N)DEF
+scan_f_user_defined=F_Gebruiker definitie: $1
+scan_e_user_defined=E_Gebruiker definitie: $1
+scan_w_user_defined=W_Gebruiker definitie: $1
+scan_n_user_defined=N_Gebruiker definitie: $1
+scan_h_user_defined=H_Gebruiker definitie: $1
+scan_i_user_defined=I_Gebruiker definitie: $1
+scan_e_keyword_cant_be_a_macro=E_Sleutelwoord herdefinieren als macro heeft geen effect
+scan_f_macro_buffer_overflow=F_Macro buffer overflow bij lezen of expanderen van macro
+scan_w_macro_deep_ten=W_Expansie van macro meer dan 16 niveus diep, waarschijnlijk een recursieve macro
+scan_e_wrong_styled_switch=E_compiler schakelaar is niet toegestaan in (* ... *) commentaar
+scan_d_handling_switch=D_Behandel schakelaar "$1"
+scan_c_endif_found=C_ENDIF $1 gevonden
+scan_c_ifdef_found=C_IFDEF $1 gevonden, $2
+scan_c_ifopt_found=C_IFOPT $1 gevonden, $2
+scan_c_if_found=C_IF $1 gevonden, $2
+scan_c_ifndef_found=C_IFNDEF $1 gevonden, $2
+scan_c_else_found=C_ELSE $1 gevonden, $2
+scan_c_skipping_until=C_Negeer tot...
+scan_i_press_enter=I_Druk <return> om voort te gaan
+scan_w_unsupported_switch=W_Niet ondersteunde schakelaar $1
+scan_w_illegal_directive=W_Illegale compiler schakelaar $1
+scan_d_back_in=D_Terug in $1
+scan_w_unsupported_asmmode_specifier=W_Niet ondersteunde assembler soort gegeven $1
+
+#
+# Parser
+#
+parser_e_syntax_error=E_Parser - Syntax fout
+parser_w_proc_far_ignored=W_Procedure type FAR genegeerd
+parser_w_proc_near_ignored=W_Procedure type NEAR genegeerd
+parser_e_no_dll_file_specified=E_geen DLL File opgegeven
+parser_e_constructorname_must_be_init=E_Constructor naam moet INIT zijn
+parser_e_destructorname_must_be_done=E_Destructor name moet DONE zijn
+parser_e_illegal_open_parameter=E_Foutieve open parameter
+parser_e_proc_inline_not_supported=E_Procedure type INLINE wordt niet ondersteund
+parser_w_priv_meth_not_virtual=W_Private methodes zijn niet VIRTUAL
+parser_w_constructor_should_be_public=E_Constructor mag niet private or protected zijn
+parser_w_destructor_should_be_public=E_Destructor mag niet private or protected zijn
+parser_n_only_one_destructor=N_Class heeft slechts 1 destructor
+parser_e_no_local_objects=E_Lokale class definities zijn niet toegestaan
+parser_e_no_anonym_objects=E_Anonieme class definities zijn niet toegestaan
+parser_e_ordinal_expected=E_Ordinale waarde verwacht
+parser_e_illegal_parameter_list=E_Foutieve parameter lijst
+parser_e_overloaded_no_procedure=E_overladen identifieerder is geen functie identifieerder
+parser_e_overloaded_have_same_parameters=E_overladen functies hebben identieke parameterlijst
+parser_e_header_dont_match_forward=E_functie declaratie klopt niet met voorwaartse declaratie $1
+parser_n_duplicate_enum=N_Slechts waarden kunnen overgeslagen worden in opsommingstypes
+parser_n_interface_name_diff_implementation_name=N_Interface en implementatie namen zijn verschillend
+parser_e_too_much_lexlevel=E_functie meer dan 31 keer genest
+parser_e_range_check_error=E_Bereikfout bij evalueren constantes
+parser_e_pointer_type_expected=E_Pointer type verwacht
+parser_e_class_type_expected=E_class type verwacht
+parser_e_double_caselabel=E_Dubbel case geval
+parser_e_type_const_not_possible=E_Getypeerde constantes van classes zijn niet toegestaan
+parser_e_no_overloaded_procvars=E_functie variabelen van meervoudige functies zijn niet toegestaan
+parser_e_string_too_long=E_string lengte moet tussen 1 en 255 liggen
+parser_w_use_extended_syntax_for_objects=W_Gebruik de uitgebreide syntax van DISPOSE en NEW om nieuwe instanties van classes te genereren
+parser_e_class_id_expected=E_class verwacht
+parser_e_methode_id_expected=E_methode verwacht
+parser_e_header_dont_match_any_member=E_function declaratie komt niet overeen met een methode van deze class
+parser_p_procedure_start=P_procedure/functie $1 ($2) op lijn $3
+parser_e_error_in_real=E_Illegale vlottende komma constante
+parser_e_fail_only_in_constructor=E_FAIL mag slechts in constructors gebruikt worden
+parser_e_no_paras_for_destructor=E_Destructors hebben geen parameters
+parser_e_strict_var_string_violation=E_String types stemmen niet overeen, wegens $V+ modus
+parser_e_only_class_methods_via_class_ref=E_Alleen class methodes kunnen gerefereerd met classe methodes
+parser_e_only_class_methods=E_Alleen class methodes togankelijk in classen
+parser_e_case_mismatch=E_Constante en CASE type komen niet overeen
+parser_e_illegal_symbol_exported=E_Het symbool kan niet uitgevoerd worden van een bibliotheek
+parser_w_should_use_override=E_Een virtuele methode moet met OVERRIDE overroepen worden: $1
+parser_e_nothing_to_be_overridden=E_Er is geen geerfde methode die overroepen kan worden: $1
+parser_e_no_procedure_to_access_property=E_Er is geen lid om de eigenschap te bereiken
+parser_e_ill_property_access_sym=E_Illegaal symbool voor eigenschap toegang
+parser_e_cant_access_protected_member=E_Kan niet in beschermd veld van een object schrijven
+parser_e_cant_access_private_member=E_Kan niet in prive veld van een object schrijven
+parser_e_overloaded_are_not_both_virtual=E_Alle overladen methodse moeten virtueel zijn als 1 virtueel is: $1
+parser_e_overloaded_methodes_not_same_ret=E_Virtuele Overladen methodes moeten hetzelfde resultaat type hebben: $1
+parser_e_dont_nest_export=E_EXPORT gedeclareerde functions kunnen niet genest worden.
+parser_e_methods_dont_be_export=E_Methodes kunnen niet geexporteerd worden.
+parser_e_call_by_ref_without_typeconv=E_Aanroep per referentie parameters moet overeenstemmende types hebben.
+parser_e_no_super_class=E_Class is geen ouder class van de huidige class
+parser_e_self_not_in_method=E_SELF is alleen toegestaan in methodes.
+parser_e_generic_methods_only_in_methods=E_Methodes kunnen alleen in andere methodes worden aangeroepen met type identifieerder
+parser_e_illegal_colon_qualifier=E_Ongeldig gebruik van ':'
+parser_e_illegal_set_expr=E_Bereik fout in set constructor of dubbel set element
+parser_e_pointer_to_class_expected=E_Pointer naar class verwacht
+parser_e_expr_have_to_be_constructor_call=E_Uitdrukking moet een constructor call zijn.
+parser_e_expr_have_to_be_destructor_call=E_Expression must be destructor call
+parser_e_typeconflict_in_set=E_Type conflict tussen set elementen.
+parser_w_use_int_div_int_op=W_De operator / geeft een resultaat is van type real. Gebruik DIV voor integers.
+parser_e_invalid_record_const=E_Ongeldige volgorde van record leden.
+parser_e_false_with_expr=E_Type van uitdrukking moet class of record type zijn.
+parser_e_void_function=E_Procedures kunnen geen resultaat teruggeven.
+parser_e_constructors_always_objects=E_Constructors en Destructors moeten methodes zijn
+parser_w_convert_real_2_comp=W_Type conversion van floating type to COMP, hetgeen een integer type is.
+parser_e_operator_not_overloaded=E_Operator is niet hergedefineerd
+parser_e_varid_or_typeid_expected=E_Variable of type indentifieerder verwacht
+parser_e_no_reraise_possible=E_Re-raise is hier niet mogelijk
+parser_e_no_new_or_dispose_for_classes=E_De uitgebreide syntax van NEW of DISPOSE is niet toegestaan voor classes
+parser_e_asm_incomp_with_function_return=E_Assembler stemt niet overeen met functieresultaat type
+parser_e_procedure_overloading_is_off=E_Procedure overladen is afgezet
+parser_e_overload_operator_failed=E_Deze operator kan niet overladen worden.
+parser_e_comparative_operator_return_boolean=E_Vergelijkings operator moet een boolean type als resultaat hebben.
+parser_e_only_virtual_methods_abstract=E_Enkel virtuele methodes kunnen abstract zijn.
+parser_f_unsupported_feature=F_Gebruik van niet ondersteunde optie !
+parser_e_mix_of_classes_and_objects=E_CLASSES and OBJECTS kunnen niet gemengd worden.
+parser_w_unknown_proc_directive_ignored=W_Ongekende procedure schakelaar is genegeerd: $1
+parser_e_absolute_only_one_var=E_Absolute kan maar aan een variabele verbonden worden.
+parser_e_absolute_only_to_var_or_const=E_Absolute kan slechts aan variabelen of constantes verbonden worden.
+parser_e_abstract_no_definition=E_Abtracte methodes kunnen niet gedefineerd worden.
+parser_e_overloaded_must_be_all_global=E_Deze overladen procedure kan niet lokaal zijn, (moet geexporteerd worden)
+parser_e_succ_and_pred_enums_with_assign_not_possible=E_SUCC of PRED op enumeratie types met toekenningen zijn niet mogelijk
+parser_w_virtual_without_constructor=W_Gebruike van Virtuele methods zonder constructor
+parser_m_macro_defined=M_Macro gedefinieerd: $1
+parser_m_macro_undefined=M_Macro ongedefinieerd: $1
+parser_m_macro_set_to=M_Macro $1 wordt $2
+parser_i_compiling=I_Compilatie van $1
+parser_d_compiling_second_time=D_Compilatie van $1 voor de tweede keer.
+parser_e_no_paras_allowed=E_Array eigenschappen zijn hier niet toegestaan.
+parser_e_no_property_found_to_override=E_Geen eigenschap gevonden om te herdefinieren
+parser_e_only_one_default_property=E_Slechts 1 default eigenschap is toegestaan, geerfde default eigenschap in kind gevonden.
+parser_e_property_need_paras=E_Default eigenschappen moeten van type Array zijn.
+parser_e_constructor_cannot_be_not_virtual=E_Virtuele constructors worden alleen ondersteunt in het object model
+parser_e_no_default_property_available=E_Geen standaard eigenschap gevonden
+parser_e_cant_have_published=E_De class kan geen gepubliceerde sectie hebben, gebruik {$M+}
+parser_forward_declaration_must_be_resolved=E_Declaratie van class $1 moet worden opgelost om de class als ouder te gebruiken
+parser_e_no_local_operator=E_Lokake operatoren worden niet ondersteunt
+parser_e_proc_dir_not_allowed_in_interface=E_Procedure directive $1 niet toegestaan in interface sectie
+parser_e_proc_dir_not_allowed_in_implementation=E_Procedure directive $1 niet toegestaan in implementation sectie
+parser_e_proc_dir_not_allowed_in_procvar=E_Procedure directive $1 niet toegestaan in procvar declaratie
+parser_e_function_already_declared_public_forward=E_Functie is al publiek/forward gedeclareerd $1
+parser_e_not_external_and_export=E_Kan niet beide EXPORT en EXTERNAL gebruiken
+parser_e_name_keyword_expected=E_NAME sleutelwoord verwacht
+parser_w_not_supported_for_inline=W_$1 wordt niet ondersteund voor inline procedure/function
+parser_w_inlining_disabled=W_Inlining uitgeschakeld
+parser_i_writing_browser_log=I_Schrijven van Browser logfile $1
+parser_h_maybe_deref_caret_missing=H_misschien is het een wijzer, ^ wordt dan gemist
+parser_f_assembler_reader_not_supported=F_Geselecteerde assembler lezer wordt niet ondersteunt
+
+#
+# Symtable
+#
+sym_n_local_var_not_init_yet=N_Lokale variabele $1 schijnt niet geinitialiseerd te zijn !
+sym_e_id_not_found=E_Identifieerder niet gevonden $1
+sym_f_internal_error_in_symtablestack=F_Interne fout in SymTableStack()
+sym_e_duplicate_id=E_Dubbele identifieerder $1
+sym_e_unknown_id=E_Onbekende identifieerder $1
+sym_e_forward_not_resolved=E_Voorwaartse declaratie niet opgelost $1
+sym_f_id_already_typed=F_Type Identifieerder reeds gedefineerd als type
+sym_e_type_id_expected=E_Type identifieerder verwacht
+sym_e_type_mismatch=E_Types stemmen niet overeen
+sym_e_error_in_type_def=E_Fout in type defenitie
+sym_e_type_id_not_defined=E_Type identifieerder niet gedefinieerd
+sym_e_only_static_in_static=E_Alleen statische variabelen kunnen gebruikt worden in statische methodes
+sym_e_invalid_call_tvarsymmangledname=E_Ongeldige aanroep van tvarsym.mangledname()
+sym_f_type_must_be_rec_or_class=F_record of class type verwacht
+sym_e_no_instance_of_abstract_object=E_U kan geen vertegenwoordiger van een klasse met abstracte methodes instantieren
+sym_e_label_not_defined=E_Label niet gedefineerd $1
+sym_e_ill_label_decl=E_Label foutief gedefineerd
+sym_e_goto_and_label_not_supported=E_GOTO en LABEL zijn momenteel uitgeschakeld (gebruik -Sg)
+sym_e_label_not_found=E_Label niet gevonden
+sym_e_id_is_no_label_id=E_identifier is geen label
+sym_e_label_already_defined=E_label is al gedefineerd
+sym_e_ill_type_decl_set=E_Type declaratie van set elementen is foutief
+sym_e_class_forward_not_resolved=E_Voorwaartse definitie van klasse niet opgelost $1
+sym_n_para_identifier_not_used=H_Parameter niet gebruikt $1
+sym_w_local_identifier_not_used=W_Lokale variable niet gebruikt $1
+sym_e_set_element_are_not_comp=E_Elementen van set zijn incompatible
+sym_e_set_expected=E_Set type verwacht
+sym_w_function_result_not_set=W_Resultaat van functie ogeschijnlijk niet present
+sym_e_illegal_field=E_Onbekend record lid
+sym_n_uninitialized_local_variable=N_Locale variabele $1 schijnt niet geinitialiseert te zijn
+sym_e_id_no_member=E_Geen lid met de naam $1
+
+#
+# Codegenerator
+#
+cg_e_break_not_allowed=E_BREAK niet toegestaan
+cg_e_continue_not_allowed=E_CONTINUE niet toegestaan
+cg_e_too_complex_expr=E_Uitdrukking te ingewikkeld - overloop van wiskundige processor
+cg_e_illegal_expression=E_Foutieve expressie
+cg_e_invalid_integer=E_Foutieve integer
+cg_e_invalid_qualifier=E_Foutieve qualifier
+cg_e_upper_lower_than_lower=E_Bovengrens < ondergrens
+cg_e_illegal_count_var=E_Foutive lusteller
+cg_e_cant_choose_overload_function=E_Weet niet welke meervoudige procedure ik moet aanroepen
+cg_e_parasize_too_big=E_Parameters gebruiken meer dan 64 kilobyte
+cg_e_illegal_type_conversion=E_Foute type conversie
+cg_e_file_must_call_by_reference=E_Files moeten var parameters zijn
+cg_e_cant_use_far_pointer_there=E_U kunt daar geen far pointer gebruiken
+cg_e_var_must_be_reference=E_Ongeldige aanroep met referentie parameters
+cg_e_dont_call_exported_direct=E_procedures die EXPORT gedeclareerd staan kunnen niet aangeroepen worden
+cg_w_member_cd_call_from_method=W_Mogelijke illegale aanroep van constructor of destructor
+cg_n_inefficient_code=N_Inefficiente code
+cg_w_unreachable_code=W_Deze code wordt nooit uitgevoerd
+cg_e_stackframe_with_esp=E_procedure aanroep met stackframe ESP/SP
+cg_e_cant_call_abstract_method=E_Abstracte methodes kunnen niet direct aangeroepen worden.
+cg_f_internal_error_in_getfloatreg=F_Interne fout in getfloatreg(), allocatie faling
+cg_f_unknown_float_type=F_Onbekend vlottende komma type
+cg_f_secondvecn_base_defined_twice=F_SecondVecn() basis tweemaal gedefinieerd.
+cg_f_extended_cg68k_not_supported=F_Extended cg68k niet ondersteund
+cg_f_32bit_not_supported_in_68000=F_32-bit unsigned niet ondersteund in MC68000 modus
+cg_f_internal_error_in_secondinline=F_Interne fout in secondinline()
+cg_d_register_weight=D_Register $1 gewicht $2 $3
+cg_e_stacklimit_in_local_routine=E_Stack limiet excedeed in local routine
+cg_d_stackframe_omited=D_Stack frame wordt niet gemaakt
+cg_e_unable_inline_object_methods=E_Kan niet inline gebruiken voor object methodes
+cg_e_unable_inline_procvar=E_Kan niet inline gebruiken voor procvar aanroepen
+cg_e_no_code_for_inline_stored=E_Geen code voor inline procedure opgeslagen
+
+#
+# Assembler reader/writers
+#
+assem_f_ev_zero_divide=F_Delen door nul in asm evaluator
+assem_f_ev_stack_overflow=F_Evaluator stack overloop
+assem_f_ev_stack_underflow=F_Evaluator stack leegloop
+assem_f_ev_invalid_number=F_Invalid numeric format in asm evaluator
+assem_f_ev_invalid_op=F_Invalid Operator in asm evaluator
+assem_f_ev_unknown=F_Unknown error in asm evaluator
+assem_w_invalid_numeric=W_Ongeldige numerieke waarde
+assem_e_escape_seq_ignored=E_escape sequence ignored $1
+assem_e_syn_prefix_not_found=E_Asm syntax error - Prefix not found
+assem_e_syn_try_add_more_prefix=E_Asm syntax error - Trying to add more than one prefix
+assem_e_syn_opcode_not_found=E_Asm syntax error - Opcode not found
+assem_e_invalid_symbol_ref=E_Invalid symbol reference
+assem_w_calling_overload_func=W_Calling an overload function in an asm
+assem_e_constant_out_of_bounds=E_Constant value out of bounds
+assem_e_none_label_contain_at=E_Non-label pattern contains @
+assem_e_invalid_operand=E_Invalid Operand: $1
+assem_w_override_op_not_supported=W_Override operator not supported
+assem_e_error_in_binary_const=E_Error in binary constant: $1
+assem_e_error_in_octal_const=E_Error in octal constant: $1
+assem_e_error_in_hex_const=E_Error in hexadecimal constant: $1
+assem_e_error_in_integer_const=E_Error in integer constant: $1
+assem_e_invalid_labeled_opcode=E_Invalid labeled opcode
+assem_f_internal_error_in_findtype=F_Internal error in Findtype()
+assem_e_invalid_size_movzx=E_Invalid size for MOVSX/MOVZX
+assem_e_16bit_base_in_32bit_segment=E_16-bit base in 32-bit segment
+assem_e_16bit_index_in_32bit_segment=E_16-bit index in 32-bit segment
+assem_e_invalid_opcode=E_Invalid Opcode
+assem_e_const_ref_not_allowed=E_Constant reference not allowed
+assem_w_fwait_emu_prob=W_Fwait can cause emulation problems with emu387
+assem_e_invalid_opcode_and_operand=E_Invalid combination of opcode and operands
+assem_w_opcode_not_in_table=W_Opcode $1 not in table, operands not checked
+assem_f_internal_error_in_concatopcode=F_Internal Error in ConcatOpcode()
+assem_e_invalid_size_in_ref=E_Invalid size in reference
+assem_e_invalid_middle_sized_operand=E_Invalid middle sized operand
+assem_e_invalid_three_operand_opcode=E_Invalid three operand opcode
+assem_e_syntax_error=E_Assembler syntax error
+assem_e_invalid_operand_type=E_Invalid operand type
+assem_e_segment_override_not_supported=E_Segment overrides not supported
+assem_e_invalid_const_symbol=E_Invalid constant symbol $1
+assem_f_error_converting_bin=F_Internal Errror converting binary
+assem_f_error_converting_hex=F_Internal Errror converting hexadecimal
+assem_f_error_converting_octal=F_Internal Errror converting octal
+assem_e_invalid_constant_expression=E_Invalid constant expression
+assem_e_unknown_id=E_Unknown identifier: $1
+assem_e_defining_index_more_than_once=E_Trying to define an index register more than once
+assem_e_invalid_field_specifier=E_Invalid field specifier
+assem_f_internal_error_in_buildscale=F_Internal Error in BuildScaling()
+assem_e_invalid_scaling_factor=E_Invalid scaling factor
+assem_e_invalid_scaling_value=E_Invalid scaling value
+assem_e_scaling_value_only_allowed_with_index=E_Scaling value only allowed with index
+assem_e_syn_no_ref_with_brackets=E_Invalid assembler syntax. No ref with brackets)
+assem_e_expression_form_not_supported=E_Expressions of the form [sreg:reg...] are currently not supported
+assem_e_defining_seg_more_than_once=E_Trying to define a segment register twice
+assem_e_defining_base_more_than_once=E_Trying to define a base register twice
+assem_e_negative_index_register=E_Trying to use a negative index register
+assem_e_syn_reference=E_Asm syntax error - error in reference
+assem_e_local_symbol_not_allowed_as_ref=E_Local symbols not allowed as references
+assem_e_invalid_operand_in_bracket_expression=E_Invalid operand in bracket expression
+assem_e_invalid_symbol_name=E_Invalid symbol name: $1
+assem_e_invalid_reference_syntax=E_Invalid Reference syntax
+assem_e_invalid_string_as_opcode_operand=E_Invalid string as opcode operand: $1
+assem_w_CODE_and_DATA_not_supported=W_@CODE and @DATA not supported
+assem_e_null_label_ref_not_allowed=E_Null label references are not allowed
+assem_e_cannot_use_SELF_outside_a_method=E_Cannot use SELF outside a method
+assem_e_syn_start_with_bracket=E_Asm syntax error - Should start with bracket
+assem_e_syn_register=E_Asm syntax error - register: $1
+assem_e_SEG_and_OFFSET_not_supported=E_SEG and OFFSET not supported
+assem_e_syn_opcode_operand=E_Asm syntax error - in opcode operand
+assem_e_invalid_string_expression=E_Invalid String expression
+assem_e_expression_out_of_bounds=E_Constant expression out of bounds
+assem_f_internal_error_in_buildconstant=F_Internal Error in BuildConstant()
+assem_w_repeat_prefix_and_seg_override=W_A repeat prefix and a segment override on <= i386 may result in errors if an interrupt occurs
+assem_e_invalid_or_missing_opcode=E_Invalid or missing opcode
+assem_e_invalid_prefix_and_opcode=E_Invalid combination of prefix and opcode: $1
+assem_e_invalid_override_and_opcode=E_Invalid combination of override and opcode: $1
+assem_e_too_many_operands=E_Too many operands on line
+assem_e_dup_local_sym=E_Duplicate local symbol: $1
+assem_e_unknown_label_identifer=E_Unknown label identifer: $1
+assem_e_assemble_node_syntax_error=E_Assemble node syntax error
+assem_e_unknown_local_sym=E_Undefined local symbol: $1
+assem_d_start_intel=D_Starting intel styled assembler parsing...
+assem_d_finish_intel=D_Finished intel styled assembler parsing...
+assem_e_not_directive_or_local_symbol=E_Not a directive or local symbol: $1
+assem_e_slash_at_begin_of_line_not_allowed=E_/ at beginning of line not allowed
+assem_e_nor_not_supported=E_NOR not supported
+assem_e_invalid_fpu_register=E_Invalid floating point register name
+assem_w_modulo_not_supported=W_Modulo not supported
+assem_e_invalid_float_const=E_Invalid floating point constant: $1
+assem_e_size_suffix_and_dest_reg_dont_match=E_Size suffix and destination register do not match
+assem_f_internal_error_in_concatlabeledinstr=E_Internal error in ConcatLabeledInstr()
+assem_w_float_bin_ignored=W_Floating point binary representation ignored
+assem_w_float_hex_ignored=W_Floating point hexadecimal representation ignored
+assem_w_float_octal_ignored=W_Floating point octal representation ignored
+assem_e_invalid_real_const=E_Invalid real constant expression
+assem_e_parenthesis_are_not_allowed=E_Parenthesis are not allowed
+assem_e_invalid_reference=E_Invalid Reference
+assem_e_cannot_use___SELF_outside_methode=E_Cannot use __SELF outside a method
+assem_e_cannot_use___OLDEBP_outside_nested_procedure=E_Cannot use __OLDEBP outside a nested procedure
+assem_w_id_supposed_external=W_Identifier $1 supposed external
+assem_e_invalid_seg_override=E_Invalid segment override expression
+assem_e_string_not_allowed_as_const=E_Strings not allowed as constants
+assem_d_start_att=D_Starting AT&T styled assembler parsing...
+assem_d_finish_att=D_Finished AT&T styled assembler parsing...
+assem_e_switching_sections_not_allowed=E_Switching sections is not allowed in an assembler block
+assem_e_invalid_global_def=E_Invalid global definition
+assem_e_line_separator_expected=E_Line separator expected
+assem_w_globl_not_supported=W_globl not supported
+assem_w_align_not_supported=W_align not supported
+assem_w_lcomm_not_supported=W_lcomm not supported
+assem_w_comm_not_supported=W_comm not supported
+assem_e_invalid_lcomm_def=E_Invalid local common definition
+assem_e_invalid_comm_def=E_Invalid global common definition
+assem_e_local_sym_not_found_in_asm_statement=E_local symbol: $1 not found inside asm statement
+assem_e_assembler_code_not_returned_to_text=E_assembler code not returned to text
+assem_f_internal_error_in_buildreference=F_internal error in BuildReference()
+assem_e_invalid_opcode_size=E_invalid opcode size
+assem_w_near_ignored=W_NEAR ignored
+assem_w_far_ignored=W_FAR ignored
+assem_d_creating_lookup_tables=D_Creating inline asm lookup tables
+assem_w_using_defined_as_local=W_Using a defined name as a local label
+assem_f_internal_error_in_handleextend=F_internal error in HandleExtend()
+assem_e_invalid_char_smaller=E_Invalid character: <
+assem_e_invalid_char_greater=E_Invalid character: >
+assem_e_unsupported_opcode=E_Unsupported opcode
+assem_e_no_inc_and_dec_together=E_Increment and Decrement mode not allowed together
+assem_e_invalid_reg_list_in_movem=E_Invalid Register list in movem/fmovem
+assem_e_invalid_reg_list_for_opcode=E_Invalid Register list for opcode
+assem_e_68020_mode_required=E_68020+ mode required to assemble
+assem_d_start_motorola=D_Starting Motorola styled assembler parsing...
+assem_d_finish_motorola=D_Finished Motorola styled assembler parsing...
+assem_w_xdef_not_supported=W_XDEF not supported
+assem_w_void_function=W_Functions with void return value can't return any value in asm code
+assem_f_invalid_suffix_intel=E_Invalid suffix for intel assembler
+assem_e_extended_not_supported=E_Extended not supported in this mode
+assem_e_comp_not_supported=E_Comp not supported in this mode
+assem_w_mmxwarning_as_281=W_You need GNU as version >= 2.81 to compile this MMX code
+assem_f_too_many_asm_files=F_Teveel assembler bestanden
+assem_f_assembler_output_not_supported=F_Geselecteerde assembler schrijven wordt niet ondersteund
+assem_e_unsupported_symbol_type=E_Unsupported symbol type for operand
+
+#
+# Executing linker/assembler
+#
+exec_i_assembling_pipe=I_Assembleren (pijp) van $1
+exec_d_cant_create_asmfile=E_Kan geen assembler bestand $1 niet maken
+exec_w_assembler_not_found=W_Assembleerder $1 niet gevonden, overschakeling naar externe assemblage
+exec_u_using_assembler=U_Gebruikte assembler: $1
+exec_w_error_while_assembling=W_Fout bij assembleren
+exec_w_cant_call_assembler=W_Kan assembleerder niet oproepen, overschakeling naar externe assemblage
+exec_i_assembling=I_Assembleren van $1
+exec_w_linker_not_found=W_Linker $1 niet gevonden, oveschakeling naar externe linker
+exec_u_using_linker=U_Gebruikte linker: $1
+exec_w_objfile_not_found=E_Bestand $1 niet gevonden, linken kan foutlopen !
+exec_w_libfile_not_found=E_Bibliotheek $1 niet gevonden, linken kan foutlopen !
+exec_w_error_while_linking=W_Error tijdens linken
+exec_w_cant_call_linker=W_Kan linker niet oproepen, overschakeling naar extern linken
+exec_i_linking=I_Linken van $1
+exec_w_binder_not_found=W_binder niet gevonden, overschakeling naar extern binden.
+exec_w_ar_not_found=W_ar niet gevonden, overschakeling naar externe ar
+exec_e_dll_not_supported=E_Dynamische bibliotheken niet ondersteund
+exec_i_closing_script=I_Afsluiten batch $1
+
+#
+# Unit loading
+#
+unit_u_ppu_loading=U_PPU Laden $1
+unit_d_ppu_time=D_PPU Tijd: $1
+unit_d_ppu_file_too_short=D_PPU bestand te kort
+unit_d_ppu_invalid_header=D_PPU Ongeldige hoofding (geen PPU aan het begin)
+unit_d_ppu_invalid_version=D_PPU Ongeldige Versie $1
+unit_d_ppu_flags=D_PPU Vlaggen: $1
+unit_d_ppu_crc=D_PPU CRC: $1
+unit_t_ppu_source=T_PPU Bronbestand: $1
+unit_d_obj_and_asm_are_older_than_ppu=D_Objectbestand en assemblerbestand zijn ouder als PPU bestand
+unit_d_obj_is_older_than_asm=D_Objectbestand is ouder dan assembler bestand.
+unit_t_unitsearch=T_Unit zoeken: $1
+unit_u_ppu_write=U_Schrijven van $1
+unit_f_ppu_cannot_write=F_Kan geen PPU bestand schrijven
+unit_f_ppu_read_error=F_Lezen van PPU bestand
+unit_f_ppu_invalid_entry=F_Ongeldig PPU bestand post: $1
+unit_f_ppu_dbx_count_problem=F_PPU Dbx aantal probleem
+unit_e_illegal_unit_name=E_Ongeldige unit naam: $1
+unit_f_too_much_units=F_Te veel units
+unit_f_circular_unit_reference=F_Circulaire unit referentie
+unit_f_cant_compile_unit=F_Kan unit $1 niet compileren, geen broncode beschikbaar
+unit_w_switch_us_missed=W_De systeem unit compileren vereist de -Us schakelaar
+unit_f_errors_in_unit=F_Er waren fouten $1 bij het compileren van een module, compilatie gestopt.
+
+#
+#  Optie
+#
+option_usage=$1 [opties] <bestand> [opties]
+option_only_one_source_support=Maar een bronbestand wordt ondersteunt
+option_def_only_for_os2=DEF file kan alleen worden gemaakt voor OS/2
+option_no_nested_response_file=nested response files are not supported
+option_no_source_found=No source file name in command line
+option_illegal_para=Illegal parameter: $1
+option_help_pages_para=-? writes help pages
+option_too_many_cfg_files=Too many config files nested
+option_unable_open_file=Unable to open file $1
+option_reading_further_from=Reading further options from $1
+option_target_is_already_set=Target is already set to: $1
+option_no_shared_lib_under_dos=Shared libs not supported on DOS platform, reverting to static
+option_too_many_ifdef=too many IF(N)DEFs
+option_too_many_endif=too many ENDIFs
+option_too_less_endif=open conditional at the end of the file
+option_no_debug_support=Debug information generation is not supported by this executable
+option_no_debug_support_recompile_fpc=Try recompiling with -dGDB
+
+#
+# Logo (option -l)
+#
+option_logo_start=Free Pascal Compiler version $FPCVER [$FPCDATE] for $FPCTARGET
+option_logo_end=Copyright (c) 1993-98 by Florian Klaempfl
+
+#
+# Info (option -i)
+#
+option_info_start=Free Pascal Compiler version $FPCVER
+option_info1=<lf>
+option_info2=Compiler Date  : $FPCDATE
+option_info3=Compiler Target: $FPCTARGET
+option_info4=<lf>
+option_info5=This program comes under the GNU General Public Licence
+option_info6=For more information read COPYING.FPC
+option_info7=<lf>
+option_info8=Report bugs,suggestions etc to:
+option_info_end=                [email protected]
+
+#
+# Help pages (option -? and -h)
+#
+# note: the ordering of the enum numbering doens't matter
+#
+ol_begin=**0*_+ switch option on, - off
+ol001=**1a_the compiler doesn't delete the generated assembler file
+ol002=*t1b_use EMS
+ol003=**1B_build all modules
+ol004=**1C_code generation options
+ol005=3*2CD_create dynamic library
+ol006=**2Ch<n>_<n> bytes heap (between 1023 and 67107840)
+ol007=**2Ci_IO-checking
+ol008=**2Cn_omit linking stage
+ol009=**2Co_check overflow of integer operations
+ol010=**2Cr_range checking
+ol011=**2Cs<n>_set stack size to <n>
+ol012=**2Ct_stack checking
+ol013=3*2CS_create static library
+ol014=3*2Cx_use smartlinking
+ol015=**1d<x>_defines the symbol <x>
+ol016=*O1D_generate a DEF file
+ol017=*O2Dd<x>_set description to <x>
+ol018=*O2Dw_PM application
+ol019=**1e<x>_set path to executable
+ol020=**1E_same as -Cn
+ol021=**1F_set file names and paths
+ol022=**2Fe<x>_redirect error output to <x>
+ol023=*L2Fg<x>_same as -Fl
+ol024=**2Fi<x>_adds <x> to include path
+ol025=**2Fl<x>_adds <x> to library path
+ol026=*L2FL<x>_uses <x> as dynamic linker
+ol027=**2Fo<x>_adds <x> to object path
+ol028=**2Fr<x>_load error message file <x>
+ol029=**2Fu<x>_adds <x> to unit path
+ol030=*g1g_generate debugger information
+ol031=*g2gg_use gsym
+ol032=*g2gd_use dbx
+ol033=**1i_information
+ol034=**1I<x>_adds <x> to include path
+ol035=**1k<x>_Pass <x> to the linker
+ol036=**1l_write logo
+ol037=**1n_don't read the default config file
+ol038=**1o<x>_change the name of the executable produced to <x>
+ol039=**1pg_generate profile code for gprof
+ol040=*L1P_use pipes instead of creating temporary assembler files
+ol041=**1S_syntax options
+ol042=**2S2_switch some Delphi 2 extensions on
+ol043=**2Sc_supports operators like C (*=,+=,/= and -=)
+ol044=**2Sd_compiler disposes asm lists (uses less memory but slower)
+ol045=**2Se_compiler stops after the first error
+ol046=**2Sg_allow LABEL and GOTO
+ol047=**2Si_support C++ stlyed INLINE
+ol048=**2Sm_support macros like C (global)
+ol049=**2So_tries to be TP/BP 7.0 compatible
+ol050=**2Sp_tries to be gpc compatible
+ol051=**2Ss_constructor name must be init (destructor must be done)
+ol052=**2St_allow static keyword in objects
+ol053=**2Sv_allow variable directives (cvar,external,public,export)
+ol054=**1s_don't call assembler and linker (only with -a)
+ol055=**1T<x>_Target operating system
+ol056=3*2TGO32V1_version 1 of DJ Delorie DOS extender
+ol057=3*2TGO32V2_version 2 of DJ Delorie DOS extender
+ol058=3*2TLINUX_Linux
+ol059=3*2TOS2_OS/2 2.x
+ol060=3*2TWin32_Windows 32 Bit
+ol061=6*2TAMIGA_Commodore Amiga
+ol062=6*2TATARI_Atari ST/STe/TT
+ol063=6*2TMACOS_Macintosh m68k
+ol064=6*2TLINUX_Linux-68k
+ol065=**1u<x>_undefines the symbol <x>
+ol066=**1U_unit options
+ol067=**2Un_don't check the unit name
+ol068=**2Up<x>_same as -Fu<x>
+ol069=**2Us_compile a system unit
+ol070=**1v<x>_Be verbose. <x> is a combination of the following letters :
+ol071=**2*_e : Show errors (default)       d : Show debug info
+ol072=**2*_w : Show warnings               u : Show used files
+ol073=**2*_n : Show notes                  t : Show tried files
+ol074=**2*_h : Show hints                  m : Show defined macros
+ol075=**2*_i : Show general info           p : Show compiled procedures
+ol076=**2*_l : Show linenumbers            c : Show conditionals
+ol077=**2*_a : Show everything             0 : Show nothing (except errors)
+ol078=**1X_executable options
+ol079=*L2Xc_link with the c library
+ol080=**2XD_link with dynamic libraries (defines FPC_LINK_DYNAMIC)
+ol081=**2Xs_strip all symbols from executable
+ol082=**2XS_link with static libraries (defines FPC_LINK_STATIC)
+ol083=**0*_Processor specific options:
+ol084=3*1A_output format
+ol085=3*2Ao_coff file using GNU AS
+ol086=3*2Anasmcoff_coff file using Nasm
+ol087=3*2Anasmelf_elf32 (linux) file using Nasm
+ol088=3*2Anasmobj_obj file using Nasm
+ol089=3*2Amasm_obj using Masm (Mircosoft)
+ol090=3*2Atasm_obj using Tasm (Borland)
+ol091=3*1R_assembler reading style
+ol092=3*2Ratt_read AT&T style assembler
+ol093=3*2Rintel_read Intel style assembler
+ol094=3*2Rdirect_copy assembler text directly to assembler file
+ol095=3*1O<x>_optimizations
+ol096=3*2Og_generate smaller code
+ol097=3*2OG_generate faster code (default)
+ol098=3*2Or_keep certain variables in registers (still BUGGY!!!)
+ol099=3*2Ou_enable uncertain optimizations (see docs)
+ol100=3*2O1_level 1 optimizations (quick optimizations)
+ol101=3*2O2_level 2 optimizations (-O1 + slower optimizations)
+ol102=3*2O3_level 3 optimizations (same as -O2u)
+ol103=3*2Op_target processor
+ol104=3*3Op1_set target processor to 386/486
+ol105=3*3Op2_set target processor to Pentium/PentiumMMX (tm)
+ol106=3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)
+ol107=6*1A_output format
+ol108=6*2Ao_Unix o-file using GNU AS
+ol109=6*2Agas_GNU Motorola assembler
+ol110=6*2Amit_MIT Syntax (old GAS)
+ol111=6*2Amot_Standard Motorola assembler
+ol112=6*1O_optimizations
+ol113=6*2Oa_turn on the optimizer
+ol114=6*2Og_generate smaller code
+ol115=6*2OG_generate faster code (default)
+ol116=6*2Ox_optimize maximum (still BUGGY!!!)
+ol117=6*2O2_set target processor to a MC68020+
+ol118=**1*_
+ol119=**1?_shows this help
+ol_end=**1h_shows this help without waiting
+
+#
+# Het einde...
+#
 

+ 15 - 8
compiler/makefile

@@ -56,6 +56,10 @@ CPU= i386
 # CPU= m68k
 endif
 
+ifndef LANGUAGE
+LANGUAGE=e
+endif
+
 #####################################################################
 # Setup Files Directories
 #####################################################################
@@ -71,6 +75,8 @@ REPLACE=mv -f
 REMOVE=rm
 CP=cp -f
 
+MSGFILE=error$(LANGUAGE).msg
+
 COMPILERDIR=$(BASEDIR)
 RTLDIR:=$(BASEDIR)/../rtl
 
@@ -282,13 +288,10 @@ endif
 # Make targets
 #####################################################################
 
-msgtxt.inc: errore.msg
-	msg2inc errore.msg msgtxt.inc msgtxt
+msgtxt.inc: $(MSGFILE)
+	msg2inc $(MSGFILE) msg msg
 
-optmsg.inc: optione.msg
-	msg2inc optione.msg optmsg.inc optiontxt
-
-msg: msgtxt.inc optmsg.inc
+msg: msgtxt.inc
 
 # Make only the compiler
 ifdef inlinux
@@ -335,7 +338,7 @@ cycle:
 ansirtl:
 	$(MAKE) -C $(UNITDIR) clean
 	$(MAKE) -C $(UNITDIR) PP=$(COMPILERDIR)/ppc386 \
-         OPT='-g -dUSeAnsiStrings' all 
+	 OPT='-g -dUSeAnsiStrings' all
 
 #####################################################################
 # Installation
@@ -456,7 +459,11 @@ $(M68KEXENAME):
 # Test of log at the end
 # does CVS add # at start of each line ??
 # $Log$
-# Revision 1.27  1998-08-21 15:16:56  peter
+# Revision 1.28  1998-08-29 13:52:30  peter
+#   + new messagefile
+#   * merged optione.msg into errore.msg
+#
+# Revision 1.27  1998/08/21 15:16:56  peter
 #   * win32 compiles a bit better, no growheap crash
 #
 # Revision 1.26  1998/08/21 14:08:46  pierre

+ 74 - 59
compiler/messages.pas

@@ -36,6 +36,7 @@ type
     constructor Init(p:pointer;n:longint);
     constructor InitExtern(const fn:string;n:longint);
     destructor Done;
+    procedure CreateIdx;
     function Get(nr:longint):string;
     function Get3(nr:longint;const s1,s2,s3:string):string;
     function Get2(nr:longint;const s1,s2:string):string;
@@ -48,88 +49,78 @@ uses
   strings;
 
 constructor TMessage.Init(p:pointer;n:longint);
-var
-  hp  : pchar;
-  hpl : ppchar;
 begin
-  hp:=pchar(p);
-  msgtxt:=hp;
+  msgtxt:=pchar(p);
   msgsize:=0;
   msgs:=n;
-  getmem(msgidx,msgs shl 2);
-  hpl:=msgidx;
-  n:=0;
-  while (n<msgs) do
-   begin
-     hpl^:=hp;
-     hpl:=pointer(longint(hpl)+4);
-     inc(n);
-     hp:=pchar(@hp[strlen(hp)+1]);
-   end;
+  CreateIdx;
 end;
 
 
 constructor TMessage.InitExtern(const fn:string;n:longint);
+const
+  bufsize=8192;
 var
-  f       : file;
-  bufread : word;
-  i,j     : longint;
-  p       : pchar;
-  hpl     : ppchar;
+  f       : text;
+  line,i  : longint;
+  ptxt    : pchar;
+  s       : string;
+  buf     : pointer;
 begin
-  msgs:=0;
-  msgsize:=0;
-  msgidx:=nil;
+  getmem(buf,bufsize);
 {Read the message file}
-  msgfilename:=fn;
   assign(f,fn);
   {$I-}
-   reset(f,1);
+   reset(f);
   {$I+}
   if ioresult<>0 then
    begin
-     WriteLn('*** message file '+msgfilename+' not found ***');
+     WriteLn('*** message file '+fn+' not found ***');
      exit;
    end;
-  msgsize:=filesize(f);
-  getmem(msgtxt,msgsize+1);
-  blockread(f,msgtxt^,msgsize,bufread);
-  msgtxt[msgsize]:=#10;
-  close(f);
-  inc(msgsize);
-{Parse buffer in msgtxt and create indexs}
+  settextbuf(f,buf^,bufsize);
+{ First parse the file and count bytes needed }
+  line:=0;
   msgs:=n;
-  getmem(msgidx,msgs shl 2);
-  hpl:=msgidx;
-  p:=msgtxt;
-  i:=0;
-  n:=0;
-  while (i<bufread) and (n<msgs) do
+  msgsize:=0;
+  while not eof(f) do
    begin
-     j:=0;
-     while (i<bufread) and (not (p[j] in [#10,#13])) and (j<255) do
+     readln(f,s);
+     inc(line);
+     if (s<>'') and not(s[1] in ['#',';','%']) then
       begin
-        inc(i);
-        inc(j);
+        i:=pos('=',s);
+        if i>0 then
+         inc(msgsize,length(s)-i+1)
+        else
+         writeln('error in line: ',line,' skipping');
       end;
-     if (i>=bufread) then
-      break;
-     if not (p[0] in [';','#']) then
+   end;
+{ now read the buffer in mem }
+  getmem(msgtxt,msgsize);
+  ptxt:=msgtxt;
+  reset(f);
+  while not eof(f) do
+   begin
+     readln(f,s);
+     inc(line);
+     if (s<>'') and not(s[1] in ['#',';']) then
       begin
-        hpl^:=p;
-        hpl:=pointer(longint(hpl)+4);
-        inc(n);
-        if (p[0]='<') and (p[1]='l') and (p[2]='f') and (p[3]='>') then
-         p[0]:=#0
-        else
-         p[j]:=#0;
+        i:=pos('=',s);
+        if i>0 then
+         begin
+           {txt}
+           move(s[i+1],ptxt^,length(s)-i);
+           inc(ptxt,length(s)-i);
+           ptxt^:=#0;
+           inc(ptxt);
+         end;
       end;
-     repeat
-       inc(i);
-       inc(j);
-     until (i>=bufread) or not(p[j] in [#10,#13]);
-     p:=pchar(@p[j]);
    end;
+  close(f);
+  freemem(buf,bufsize);
+{ now we can create the index }
+  CreateIdx;
 end;
 
 
@@ -143,6 +134,26 @@ begin
 end;
 
 
+procedure TMessage.CreateIdx;
+var
+  hp  : pchar;
+  hpl : ppchar;
+  n   : longint;
+begin
+  getmem(msgidx,msgs shl 2);
+  hpl:=msgidx;
+  hp:=msgtxt;
+  n:=0;
+  while (n<msgs) do
+   begin
+     hpl^:=hp;
+     hpl:=pointer(longint(hpl)+4);
+     inc(n);
+     hp:=pchar(@hp[strlen(hp)+1]);
+   end;
+end;
+
+
 function TMessage.Get(nr:longint):string;
 var
   s : string[16];
@@ -214,7 +225,11 @@ end;
 end.
 {
   $Log$
-  Revision 1.2  1998-08-18 09:05:00  peter
+  Revision 1.3  1998-08-29 13:52:31  peter
+    + new messagefile
+    * merged optione.msg into errore.msg
+
+  Revision 1.2  1998/08/18 09:05:00  peter
     * fixed range errror
 
 }

+ 557 - 481
compiler/msgidx.inc

@@ -1,483 +1,559 @@
-{
-    $Id$
-    Copyright (c) 1998 by the FPC development team
-
-    This file includes the message index types which can be used to display
-    a message from the message file
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ****************************************************************************}
-
-{
-  The constants are build in the following order:
-  <part>_<type>_<txtidentifier>
-
-  <part> is the part of the compiler the message is used
-    assem_    assembler parsing
-    unit_     unit handling
-    scan_     scanner
-    general_  general info
-    exec_     calls to assembler, linker, binder
-
-  <type> the type of the message it should normally used for
-    f_   fatal error
-    e_   error
-    w_   warning
-    n_   note
-    h_   hint
-    i_   info
-    l_   linenumber
-    u_   used
-    t_   tried
-    m_   macro
-    p_   procedure
-    c_   conditional
-    d_   debug message
-
-  syn_ means a syntax error
-}
-type
-  tmsgconst = (
-general_u_compilername,
-general_d_sourceos,
-general_i_targetos,
-general_u_exepath,
-general_u_unitpath,
-general_u_includepath,
-general_u_librarypath,
-general_u_objectpath,
-general_i_abslines_compiled,
-general_f_no_memory_left,
-{
-  Scanner part
-}
-scan_f_end_of_file,
-scan_f_string_exceeds_line,
-scan_f_illegal_char,
-scan_f_syn_expected,
-scan_u_start_include_file,
-scan_w_comment_level,
-scan_n_far_directive_ignored,
-scan_n_stack_check_global_under_linux,
-scan_w_illegal_switch,
-scan_w_switch_is_global,
-scan_e_illegal_char_const,
-scan_f_cannot_open_input,
-scan_f_cannot_open_includefile,
-scan_e_too_much_endifs,
-scan_w_only_pack_records,
-scan_e_endif_expected,
-scan_e_preproc_syntax_error,
-scan_e_error_in_preproc_expr,
-scan_w_marco_cut_after_255_chars,
-scan_e_endif_without_if,
-scan_f_user_defined,
-scan_e_user_defined,
-scan_w_user_defined,
-scan_n_user_defined,
-scan_h_user_defined,
-scan_i_user_defined,
-scan_e_keyword_cant_be_a_macro,
-scan_f_macro_buffer_overflow,
-scan_w_macro_deep_ten,
-scan_e_wrong_styled_switch,
-scan_d_handling_switch,
-scan_c_endif_found,
-scan_c_ifdef_found,
-scan_c_ifopt_found,
-scan_c_if_found,
-scan_c_ifndef_found,
-scan_c_else_found,
-scan_c_skipping_until,
-scan_i_press_enter,
-scan_w_unsupported_switch,
-scan_w_illegal_directive,
-scan_d_back_in,
-scan_w_unsupported_asmmode_specifier,
-{
-  Parser
-}
-parser_e_syntax_error,
-parser_w_proc_far_ignored,
-parser_w_proc_near_ignored,
-parser_e_no_dll_file_specified,
-parser_e_constructorname_must_be_init,
-parser_e_destructorname_must_be_done,
-parser_e_illegal_open_parameter,
-parser_e_proc_inline_not_supported,
-parser_w_priv_meth_not_virtual,
-parser_w_constructor_should_be_public,
-parser_w_destructor_should_be_public,
-parser_n_only_one_destructor,
-parser_e_no_local_objects,
-parser_e_no_anonym_objects,
-parser_e_ordinal_expected,
-parser_e_illegal_parameter_list,
-parser_e_overloaded_no_procedure,
-parser_e_overloaded_have_same_parameters,
-parser_e_header_dont_match_forward,
-parser_n_duplicate_enum,
-parser_n_interface_name_diff_implementation_name,
-parser_e_too_much_lexlevel,
-parser_e_range_check_error,
-parser_e_pointer_type_expected,
-parser_e_class_type_expected,
-parser_e_double_caselabel,
-parser_e_type_const_not_possible,
-parser_e_no_overloaded_procvars,
-parser_e_string_too_long,
-parser_w_use_extended_syntax_for_objects,
-parser_e_class_id_expected,
-parser_e_methode_id_expected,
-parser_e_header_dont_match_any_member,
-parser_p_procedure_start,
-parser_e_error_in_real,
-parser_e_fail_only_in_constructor,
-parser_e_no_paras_for_destructor,
-parser_e_strict_var_string_violation,
-parser_e_only_class_methods_via_class_ref,
-parser_e_only_class_methods,
-parser_e_case_mismatch,
-parser_e_illegal_symbol_exported,
-parser_w_should_use_override,
-parser_e_nothing_to_be_overridden,
-parser_e_no_procedure_to_access_property,
-parser_e_ill_property_access_sym,
-parser_e_cant_access_protected_member,
-parser_e_cant_access_private_member,
-parser_e_overloaded_are_not_both_virtual,
-parser_e_overloaded_methodes_not_same_ret,
-parser_e_dont_nest_export,
-parser_e_methods_dont_be_export,
-parser_e_call_by_ref_without_typeconv,
-parser_e_no_super_class,
-parser_e_self_not_in_method,
-parser_e_generic_methods_only_in_methods,
-parser_e_illegal_colon_qualifier,
-parser_e_illegal_set_expr,
-parser_e_pointer_to_class_expected,
-parser_e_expr_have_to_be_constructor_call,
-parser_e_expr_have_to_be_destructor_call,
-parser_e_typeconflict_in_set,
-parser_w_use_int_div_int_op,
-parser_e_invalid_record_const,
-parser_e_false_with_expr,
-parser_e_void_function,
-parser_e_constructors_always_objects,
-parser_w_convert_real_2_comp,
-parser_e_operator_not_overloaded,
-parser_e_varid_or_typeid_expected,
-parser_e_no_reraise_possible,
-parser_e_no_new_or_dispose_for_classes,
-parser_e_asm_incomp_with_function_return,
-parser_e_procedure_overloading_is_off,
-parser_e_overload_operator_failed,
-parser_e_comparative_operator_return_boolean,
-parser_e_only_virtual_methods_abstract,
-parser_f_unsupported_feature,
-parser_e_mix_of_classes_and_objects,
-parser_w_unknown_proc_directive_ignored,
-parser_e_absolute_only_one_var,
-parser_e_absolute_only_to_var_or_const,
-parser_e_abstract_no_definition,
-parser_e_overloaded_must_be_all_global,
-parser_e_succ_and_pred_enums_with_assign_not_possible,
-parser_w_virtual_without_constructor,
-parser_m_macro_defined,
-parser_m_macro_undefined,
-parser_m_macro_set_to,
-parser_i_compiling,
-parser_d_compiling_second_time,
-parser_e_no_paras_allowed,
-parser_e_no_property_found_to_override,
-parser_e_only_one_default_property,
-parser_e_property_need_paras,
-parser_e_constructor_cannot_be_not_virtual,
-parser_e_no_default_property_available,
-parser_e_cant_have_published,
-parser_forward_declaration_must_be_resolved,
-parser_e_no_local_operator,
-parser_e_proc_dir_not_allowed_in_interface,
-parser_e_proc_dir_not_allowed_in_implementation,
-parser_e_proc_dir_not_allowed_in_procvar,
-parser_e_function_already_declared_public_forward,
-parser_e_not_external_and_export,
-parser_e_name_keyword_expected,
-parser_w_not_supported_for_inline,
-parser_w_inlining_disabled,
-parser_i_writing_browser_log,
-parser_h_maybe_deref_caret_missing,
-parser_f_assembler_reader_not_supported,
-{
-  Symbol table
-}
-sym_n_local_var_not_init_yet,
-sym_e_id_not_found,
-sym_f_internal_error_in_symtablestack,
-sym_e_duplicate_id,
-sym_e_unknown_id,
-sym_e_forward_not_resolved,
-sym_f_id_already_typed,
-sym_e_type_id_expected,
-sym_e_type_mismatch,
-sym_e_error_in_type_def,
-sym_e_type_id_not_defined,
-sym_e_only_static_in_static,
-sym_e_invalid_call_tvarsymmangledname,
-sym_f_type_must_be_rec_or_class,
-sym_e_no_instance_of_abstract_object,
-sym_e_label_not_defined,
-sym_e_ill_label_decl,
-sym_e_goto_and_label_not_supported,
-sym_e_label_not_found,
-sym_e_id_is_no_label_id,
-sym_e_label_already_defined,
-sym_e_ill_type_decl_set,
-sym_e_class_forward_not_resolved,
-sym_n_para_identifier_not_used,
-sym_w_local_identifier_not_used,
-sym_e_set_element_are_not_comp,
-sym_e_set_expected,
-sym_w_function_result_not_set,
-sym_e_illegal_field,
-sym_n_uninitialized_local_variable,
-sym_e_id_no_member,
-{
-  Codegenerator
-}
-cg_e_break_not_allowed,
-cg_e_continue_not_allowed,
-cg_e_too_complex_expr,
-cg_e_illegal_expression,
-cg_e_invalid_integer,
-cg_e_invalid_qualifier,
-cg_e_upper_lower_than_lower,
-cg_e_illegal_count_var,
-cg_e_cant_choose_overload_function,
-cg_e_parasize_too_big,
-cg_e_illegal_type_conversion,
-cg_e_file_must_call_by_reference,
-cg_e_cant_use_far_pointer_there,
-cg_e_var_must_be_reference,
-cg_e_dont_call_exported_direct,
-cg_w_member_cd_call_from_method,
-cg_n_inefficient_code,
-cg_w_unreachable_code,
-cg_e_stackframe_with_esp,
-cg_e_cant_call_abstract_method,
-cg_f_internal_error_in_getfloatreg,
-cg_f_unknown_float_type,
-cg_f_secondvecn_base_defined_twice,
-cg_f_extended_cg68k_not_supported,
-cg_f_32bit_not_supported_in_68000,
-cg_f_internal_error_in_secondinline,
-cg_d_register_weight,
-cg_e_stacklimit_in_local_routine,
-cg_d_stackframe_omited,
-cg_e_unable_inline_object_methods,
-cg_e_unable_inline_procvar,
-cg_e_no_code_for_inline_stored,
-{
-  Assembler parsers
-}
-assem_f_ev_zero_divide,
-assem_f_ev_stack_overflow,
-assem_f_ev_stack_underflow,
-assem_f_ev_invalid_number,
-assem_f_ev_invalid_op,
-assem_f_ev_unknown,
-assem_w_invalid_numeric,
-assem_e_escape_seq_ignored,
-assem_e_syn_prefix_not_found,
-assem_e_syn_try_add_more_prefix,
-assem_e_syn_opcode_not_found,
-assem_e_invalid_symbol_ref,
-assem_w_calling_overload_func,
-assem_e_constant_out_of_bounds,
-assem_e_none_label_contain_at,
-assem_e_invalid_operand,
-assem_w_override_op_not_supported,
-assem_e_error_in_binary_const,
-assem_e_error_in_octal_const,
-assem_e_error_in_hex_const,
-assem_e_error_in_integer_const,
-assem_e_invalid_labeled_opcode,
-assem_f_internal_error_in_findtype,
-assem_e_invalid_size_movzx,
-assem_e_16bit_base_in_32bit_segment,
-assem_e_16bit_index_in_32bit_segment,
-assem_e_invalid_opcode,
-assem_e_const_ref_not_allowed,
-assem_w_fwait_emu_prob,
-assem_e_invalid_opcode_and_operand,
-assem_w_opcode_not_in_table,
-assem_f_internal_error_in_concatopcode,
-assem_e_invalid_size_in_ref,
-assem_e_invalid_middle_sized_operand,
-assem_e_invalid_three_operand_opcode,
-assem_e_syntax_error,
-assem_e_invalid_operand_type,
-assem_e_segment_override_not_supported,
-assem_e_invalid_const_symbol,
-assem_f_error_converting_bin,
-assem_f_error_converting_hex,
-assem_f_error_converting_octal,
-assem_e_invalid_constant_expression,
-assem_e_unknown_id,
-assem_e_defining_index_more_than_once,
-assem_e_invalid_field_specifier,
-assem_f_internal_error_in_buildscale,
-assem_e_invalid_scaling_factor,
-assem_e_invalid_scaling_value,
-assem_e_scaling_value_only_allowed_with_index,
-assem_e_syn_no_ref_with_brackets,
-assem_e_expression_form_not_supported,
-assem_e_defining_seg_more_than_once,
-assem_e_defining_base_more_than_once,
-assem_e_negative_index_register,
-assem_e_syn_reference,
-assem_e_local_symbol_not_allowed_as_ref,
-assem_e_invalid_operand_in_bracket_expression,
-assem_e_invalid_symbol_name,
-assem_e_invalid_reference_syntax,
-assem_e_invalid_string_as_opcode_operand,
-assem_w_CODE_and_DATA_not_supported,
-assem_e_null_label_ref_not_allowed,
-assem_e_cannot_use_SELF_outside_a_method,
-assem_e_syn_start_with_bracket,
-assem_e_syn_register,
-assem_e_SEG_and_OFFSET_not_supported,
-assem_e_syn_opcode_operand,
-assem_e_invalid_string_expression,
-assem_e_expression_out_of_bounds,
-assem_f_internal_error_in_buildconstant,
-assem_w_repeat_prefix_and_seg_override,
-assem_e_invalid_or_missing_opcode,
-assem_e_invalid_prefix_and_opcode,
-assem_e_invalid_override_and_opcode,
-assem_e_too_many_operands,
-assem_e_dup_local_sym,
-assem_e_unknown_label_identifer,
-assem_e_assemble_node_syntax_error,
-assem_e_unknown_local_sym,
-assem_d_start_intel,
-assem_d_finish_intel,
-assem_e_not_directive_or_local_symbol,
-assem_e_slash_at_begin_of_line_not_allowed,
-assem_e_nor_not_supported,
-assem_e_invalid_fpu_register,
-assem_w_modulo_not_supported,
-assem_e_invalid_float_const,
-assem_e_size_suffix_and_dest_reg_dont_match,
-assem_f_internal_error_in_concatlabeledinstr,
-assem_w_float_bin_ignored,
-assem_w_float_hex_ignored,
-assem_w_float_octal_ignored,
-assem_e_invalid_real_const,
-assem_e_parenthesis_are_not_allowed,
-assem_e_invalid_reference,
-assem_e_cannot_use___SELF_outside_methode,
-assem_e_cannot_use___OLDEBP_outside_nested_procedure,
-assem_w_id_supposed_external,
-assem_e_invalid_seg_override,
-assem_e_string_not_allowed_as_const,
-assem_d_start_att,
-assem_d_finish_att,
-assem_e_switching_sections_not_allowed,
-assem_e_invalid_global_def,
-assem_e_line_separator_expected,
-assem_w_globl_not_supported,
-assem_w_align_not_supported,
-assem_w_lcomm_not_supported,
-assem_w_comm_not_supported,
-assem_e_invalid_lcomm_def,
-assem_e_invalid_comm_def,
-assem_e_local_sym_not_found_in_asm_statement,
-assem_e_assembler_code_not_returned_to_text,
-assem_f_internal_error_in_buildreference,
-assem_e_invalid_opcode_size,
-assem_w_near_ignored,
-assem_w_far_ignored,
-assem_d_creating_lookup_tables,
-assem_w_using_defined_as_local,
-assem_f_internal_error_in_handleextend,
-assem_e_invalid_char_smaller,
-assem_e_invalid_char_greater,
-assem_e_unsupported_opcode,
-assem_e_no_inc_and_dec_together,
-assem_e_invalid_reg_list_in_movem,
-assem_e_invalid_reg_list_for_opcode,
-assem_e_68020_mode_required,
-assem_d_start_motorola,
-assem_d_finish_motorola,
-assem_w_xdef_not_supported,
-assem_w_void_function,
-assem_f_invalid_suffix_intel,
-assem_e_extended_not_supported,
-assem_e_comp_not_supported,
-assem_w_mmxwarning_as_281,
-assem_f_too_many_asm_files,
-assem_f_assembler_output_not_supported,
-assem_e_unsupported_symbol_type,
-{
-  Exec, assembler, linker, binder calls
-}
-exec_i_assembling_pipe,
-exec_d_cant_create_asmfile,
-exec_w_assembler_not_found,
-exec_u_using_assembler,
-exec_w_error_while_assembling,
-exec_w_cant_call_assembler,
-exec_i_assembling,
-exec_w_linker_not_found,
-exec_u_using_linker,
-exec_w_objfile_not_found,
-exec_w_libfile_not_found,
-exec_w_error_while_linking,
-exec_w_cant_call_linker,
-exec_i_linking,
-exec_w_binder_not_found,
-exec_w_ar_not_found,
-exec_e_dll_not_supported,
-exec_i_closing_script,
-{
-  Unit handling, PPU File
-}
-unit_u_ppu_loading,
-unit_d_ppu_time,
-unit_d_ppu_file_too_short,
-unit_d_ppu_invalid_header,
-unit_d_ppu_invalid_version,
-unit_d_ppu_flags,
-unit_d_ppu_crc,
-unit_t_ppu_source,
-unit_d_obj_and_asm_are_older_than_ppu,
-unit_d_obj_is_older_than_asm,
-unit_t_unitsearch,
-unit_u_ppu_write,
-unit_f_ppu_cannot_write,
-unit_f_ppu_read_error,
-unit_f_ppu_invalid_entry,
-unit_f_ppu_dbx_count_problem,
-unit_e_illegal_unit_name,
-unit_f_too_much_units,
-unit_f_circular_unit_reference,
-unit_f_cant_compile_unit,
-unit_w_switch_us_missed,
-unit_f_errors_in_unit,
-{This should be the last}
+type tmsgconst=(
+  general_u_compilername,
+  general_d_sourceos,
+  general_i_targetos,
+  general_u_exepath,
+  general_u_unitpath,
+  general_u_includepath,
+  general_u_librarypath,
+  general_u_objectpath,
+  general_i_abslines_compiled,
+  general_f_no_memory_left,
+  scan_f_end_of_file,
+  scan_f_string_exceeds_line,
+  scan_f_illegal_char,
+  scan_f_syn_expected,
+  scan_u_start_include_file,
+  scan_w_comment_level,
+  scan_n_far_directive_ignored,
+  scan_n_stack_check_global_under_linux,
+  scan_w_illegal_switch,
+  scan_w_switch_is_global,
+  scan_e_illegal_char_const,
+  scan_f_cannot_open_input,
+  scan_f_cannot_open_includefile,
+  scan_e_too_much_endifs,
+  scan_w_only_pack_records,
+  scan_e_endif_expected,
+  scan_e_preproc_syntax_error,
+  scan_e_error_in_preproc_expr,
+  scan_w_marco_cut_after_255_chars,
+  scan_e_endif_without_if,
+  scan_f_user_defined,
+  scan_e_user_defined,
+  scan_w_user_defined,
+  scan_n_user_defined,
+  scan_h_user_defined,
+  scan_i_user_defined,
+  scan_e_keyword_cant_be_a_macro,
+  scan_f_macro_buffer_overflow,
+  scan_w_macro_deep_ten,
+  scan_e_wrong_styled_switch,
+  scan_d_handling_switch,
+  scan_c_endif_found,
+  scan_c_ifdef_found,
+  scan_c_ifopt_found,
+  scan_c_if_found,
+  scan_c_ifndef_found,
+  scan_c_else_found,
+  scan_c_skipping_until,
+  scan_i_press_enter,
+  scan_w_unsupported_switch,
+  scan_w_illegal_directive,
+  scan_d_back_in,
+  scan_w_unsupported_asmmode_specifier,
+  parser_e_syntax_error,
+  parser_w_proc_far_ignored,
+  parser_w_proc_near_ignored,
+  parser_e_no_dll_file_specified,
+  parser_e_constructorname_must_be_init,
+  parser_e_destructorname_must_be_done,
+  parser_e_illegal_open_parameter,
+  parser_e_proc_inline_not_supported,
+  parser_w_priv_meth_not_virtual,
+  parser_w_constructor_should_be_public,
+  parser_w_destructor_should_be_public,
+  parser_n_only_one_destructor,
+  parser_e_no_local_objects,
+  parser_e_no_anonym_objects,
+  parser_e_ordinal_expected,
+  parser_e_illegal_parameter_list,
+  parser_e_overloaded_no_procedure,
+  parser_e_overloaded_have_same_parameters,
+  parser_e_header_dont_match_forward,
+  parser_n_duplicate_enum,
+  parser_n_interface_name_diff_implementation_name,
+  parser_e_too_much_lexlevel,
+  parser_e_range_check_error,
+  parser_e_pointer_type_expected,
+  parser_e_class_type_expected,
+  parser_e_double_caselabel,
+  parser_e_type_const_not_possible,
+  parser_e_no_overloaded_procvars,
+  parser_e_string_too_long,
+  parser_w_use_extended_syntax_for_objects,
+  parser_e_class_id_expected,
+  parser_e_methode_id_expected,
+  parser_e_header_dont_match_any_member,
+  parser_p_procedure_start,
+  parser_e_error_in_real,
+  parser_e_fail_only_in_constructor,
+  parser_e_no_paras_for_destructor,
+  parser_e_strict_var_string_violation,
+  parser_e_only_class_methods_via_class_ref,
+  parser_e_only_class_methods,
+  parser_e_case_mismatch,
+  parser_e_illegal_symbol_exported,
+  parser_w_should_use_override,
+  parser_e_nothing_to_be_overridden,
+  parser_e_no_procedure_to_access_property,
+  parser_e_ill_property_access_sym,
+  parser_e_cant_access_protected_member,
+  parser_e_cant_access_private_member,
+  parser_e_overloaded_are_not_both_virtual,
+  parser_e_overloaded_methodes_not_same_ret,
+  parser_e_dont_nest_export,
+  parser_e_methods_dont_be_export,
+  parser_e_call_by_ref_without_typeconv,
+  parser_e_no_super_class,
+  parser_e_self_not_in_method,
+  parser_e_generic_methods_only_in_methods,
+  parser_e_illegal_colon_qualifier,
+  parser_e_illegal_set_expr,
+  parser_e_pointer_to_class_expected,
+  parser_e_expr_have_to_be_constructor_call,
+  parser_e_expr_have_to_be_destructor_call,
+  parser_e_typeconflict_in_set,
+  parser_w_use_int_div_int_op,
+  parser_e_invalid_record_const,
+  parser_e_false_with_expr,
+  parser_e_void_function,
+  parser_e_constructors_always_objects,
+  parser_w_convert_real_2_comp,
+  parser_e_operator_not_overloaded,
+  parser_e_varid_or_typeid_expected,
+  parser_e_no_reraise_possible,
+  parser_e_no_new_or_dispose_for_classes,
+  parser_e_asm_incomp_with_function_return,
+  parser_e_procedure_overloading_is_off,
+  parser_e_overload_operator_failed,
+  parser_e_comparative_operator_return_boolean,
+  parser_e_only_virtual_methods_abstract,
+  parser_f_unsupported_feature,
+  parser_e_mix_of_classes_and_objects,
+  parser_w_unknown_proc_directive_ignored,
+  parser_e_absolute_only_one_var,
+  parser_e_absolute_only_to_var_or_const,
+  parser_e_abstract_no_definition,
+  parser_e_overloaded_must_be_all_global,
+  parser_e_succ_and_pred_enums_with_assign_not_possible,
+  parser_w_virtual_without_constructor,
+  parser_m_macro_defined,
+  parser_m_macro_undefined,
+  parser_m_macro_set_to,
+  parser_i_compiling,
+  parser_d_compiling_second_time,
+  parser_e_no_paras_allowed,
+  parser_e_no_property_found_to_override,
+  parser_e_only_one_default_property,
+  parser_e_property_need_paras,
+  parser_e_constructor_cannot_be_not_virtual,
+  parser_e_no_default_property_available,
+  parser_e_cant_have_published,
+  parser_forward_declaration_must_be_resolved,
+  parser_e_no_local_operator,
+  parser_e_proc_dir_not_allowed_in_interface,
+  parser_e_proc_dir_not_allowed_in_implementation,
+  parser_e_proc_dir_not_allowed_in_procvar,
+  parser_e_function_already_declared_public_forward,
+  parser_e_not_external_and_export,
+  parser_e_name_keyword_expected,
+  parser_w_not_supported_for_inline,
+  parser_w_inlining_disabled,
+  parser_i_writing_browser_log,
+  parser_h_maybe_deref_caret_missing,
+  parser_f_assembler_reader_not_supported,
+  sym_n_local_var_not_init_yet,
+  sym_e_id_not_found,
+  sym_f_internal_error_in_symtablestack,
+  sym_e_duplicate_id,
+  sym_e_unknown_id,
+  sym_e_forward_not_resolved,
+  sym_f_id_already_typed,
+  sym_e_type_id_expected,
+  sym_e_type_mismatch,
+  sym_e_error_in_type_def,
+  sym_e_type_id_not_defined,
+  sym_e_only_static_in_static,
+  sym_e_invalid_call_tvarsymmangledname,
+  sym_f_type_must_be_rec_or_class,
+  sym_e_no_instance_of_abstract_object,
+  sym_e_label_not_defined,
+  sym_e_ill_label_decl,
+  sym_e_goto_and_label_not_supported,
+  sym_e_label_not_found,
+  sym_e_id_is_no_label_id,
+  sym_e_label_already_defined,
+  sym_e_ill_type_decl_set,
+  sym_e_class_forward_not_resolved,
+  sym_n_para_identifier_not_used,
+  sym_w_local_identifier_not_used,
+  sym_e_set_element_are_not_comp,
+  sym_e_set_expected,
+  sym_w_function_result_not_set,
+  sym_e_illegal_field,
+  sym_n_uninitialized_local_variable,
+  sym_e_id_no_member,
+  cg_e_break_not_allowed,
+  cg_e_continue_not_allowed,
+  cg_e_too_complex_expr,
+  cg_e_illegal_expression,
+  cg_e_invalid_integer,
+  cg_e_invalid_qualifier,
+  cg_e_upper_lower_than_lower,
+  cg_e_illegal_count_var,
+  cg_e_cant_choose_overload_function,
+  cg_e_parasize_too_big,
+  cg_e_illegal_type_conversion,
+  cg_e_file_must_call_by_reference,
+  cg_e_cant_use_far_pointer_there,
+  cg_e_var_must_be_reference,
+  cg_e_dont_call_exported_direct,
+  cg_w_member_cd_call_from_method,
+  cg_n_inefficient_code,
+  cg_w_unreachable_code,
+  cg_e_stackframe_with_esp,
+  cg_e_cant_call_abstract_method,
+  cg_f_internal_error_in_getfloatreg,
+  cg_f_unknown_float_type,
+  cg_f_secondvecn_base_defined_twice,
+  cg_f_extended_cg68k_not_supported,
+  cg_f_32bit_not_supported_in_68000,
+  cg_f_internal_error_in_secondinline,
+  cg_d_register_weight,
+  cg_e_stacklimit_in_local_routine,
+  cg_d_stackframe_omited,
+  cg_e_unable_inline_object_methods,
+  cg_e_unable_inline_procvar,
+  cg_e_no_code_for_inline_stored,
+  assem_f_ev_zero_divide,
+  assem_f_ev_stack_overflow,
+  assem_f_ev_stack_underflow,
+  assem_f_ev_invalid_number,
+  assem_f_ev_invalid_op,
+  assem_f_ev_unknown,
+  assem_w_invalid_numeric,
+  assem_e_escape_seq_ignored,
+  assem_e_syn_prefix_not_found,
+  assem_e_syn_try_add_more_prefix,
+  assem_e_syn_opcode_not_found,
+  assem_e_invalid_symbol_ref,
+  assem_w_calling_overload_func,
+  assem_e_constant_out_of_bounds,
+  assem_e_none_label_contain_at,
+  assem_e_invalid_operand,
+  assem_w_override_op_not_supported,
+  assem_e_error_in_binary_const,
+  assem_e_error_in_octal_const,
+  assem_e_error_in_hex_const,
+  assem_e_error_in_integer_const,
+  assem_e_invalid_labeled_opcode,
+  assem_f_internal_error_in_findtype,
+  assem_e_invalid_size_movzx,
+  assem_e_16bit_base_in_32bit_segment,
+  assem_e_16bit_index_in_32bit_segment,
+  assem_e_invalid_opcode,
+  assem_e_const_ref_not_allowed,
+  assem_w_fwait_emu_prob,
+  assem_e_invalid_opcode_and_operand,
+  assem_w_opcode_not_in_table,
+  assem_f_internal_error_in_concatopcode,
+  assem_e_invalid_size_in_ref,
+  assem_e_invalid_middle_sized_operand,
+  assem_e_invalid_three_operand_opcode,
+  assem_e_syntax_error,
+  assem_e_invalid_operand_type,
+  assem_e_segment_override_not_supported,
+  assem_e_invalid_const_symbol,
+  assem_f_error_converting_bin,
+  assem_f_error_converting_hex,
+  assem_f_error_converting_octal,
+  assem_e_invalid_constant_expression,
+  assem_e_unknown_id,
+  assem_e_defining_index_more_than_once,
+  assem_e_invalid_field_specifier,
+  assem_f_internal_error_in_buildscale,
+  assem_e_invalid_scaling_factor,
+  assem_e_invalid_scaling_value,
+  assem_e_scaling_value_only_allowed_with_index,
+  assem_e_syn_no_ref_with_brackets,
+  assem_e_expression_form_not_supported,
+  assem_e_defining_seg_more_than_once,
+  assem_e_defining_base_more_than_once,
+  assem_e_negative_index_register,
+  assem_e_syn_reference,
+  assem_e_local_symbol_not_allowed_as_ref,
+  assem_e_invalid_operand_in_bracket_expression,
+  assem_e_invalid_symbol_name,
+  assem_e_invalid_reference_syntax,
+  assem_e_invalid_string_as_opcode_operand,
+  assem_w_CODE_and_DATA_not_supported,
+  assem_e_null_label_ref_not_allowed,
+  assem_e_cannot_use_SELF_outside_a_method,
+  assem_e_syn_start_with_bracket,
+  assem_e_syn_register,
+  assem_e_SEG_and_OFFSET_not_supported,
+  assem_e_syn_opcode_operand,
+  assem_e_invalid_string_expression,
+  assem_e_expression_out_of_bounds,
+  assem_f_internal_error_in_buildconstant,
+  assem_w_repeat_prefix_and_seg_override,
+  assem_e_invalid_or_missing_opcode,
+  assem_e_invalid_prefix_and_opcode,
+  assem_e_invalid_override_and_opcode,
+  assem_e_too_many_operands,
+  assem_e_dup_local_sym,
+  assem_e_unknown_label_identifer,
+  assem_e_assemble_node_syntax_error,
+  assem_e_unknown_local_sym,
+  assem_d_start_intel,
+  assem_d_finish_intel,
+  assem_e_not_directive_or_local_symbol,
+  assem_e_slash_at_begin_of_line_not_allowed,
+  assem_e_nor_not_supported,
+  assem_e_invalid_fpu_register,
+  assem_w_modulo_not_supported,
+  assem_e_invalid_float_const,
+  assem_e_size_suffix_and_dest_reg_dont_match,
+  assem_f_internal_error_in_concatlabeledinstr,
+  assem_w_float_bin_ignored,
+  assem_w_float_hex_ignored,
+  assem_w_float_octal_ignored,
+  assem_e_invalid_real_const,
+  assem_e_parenthesis_are_not_allowed,
+  assem_e_invalid_reference,
+  assem_e_cannot_use___SELF_outside_methode,
+  assem_e_cannot_use___OLDEBP_outside_nested_procedure,
+  assem_w_id_supposed_external,
+  assem_e_invalid_seg_override,
+  assem_e_string_not_allowed_as_const,
+  assem_d_start_att,
+  assem_d_finish_att,
+  assem_e_switching_sections_not_allowed,
+  assem_e_invalid_global_def,
+  assem_e_line_separator_expected,
+  assem_w_globl_not_supported,
+  assem_w_align_not_supported,
+  assem_w_lcomm_not_supported,
+  assem_w_comm_not_supported,
+  assem_e_invalid_lcomm_def,
+  assem_e_invalid_comm_def,
+  assem_e_local_sym_not_found_in_asm_statement,
+  assem_e_assembler_code_not_returned_to_text,
+  assem_f_internal_error_in_buildreference,
+  assem_e_invalid_opcode_size,
+  assem_w_near_ignored,
+  assem_w_far_ignored,
+  assem_d_creating_lookup_tables,
+  assem_w_using_defined_as_local,
+  assem_f_internal_error_in_handleextend,
+  assem_e_invalid_char_smaller,
+  assem_e_invalid_char_greater,
+  assem_e_unsupported_opcode,
+  assem_e_no_inc_and_dec_together,
+  assem_e_invalid_reg_list_in_movem,
+  assem_e_invalid_reg_list_for_opcode,
+  assem_e_68020_mode_required,
+  assem_d_start_motorola,
+  assem_d_finish_motorola,
+  assem_w_xdef_not_supported,
+  assem_w_void_function,
+  assem_f_invalid_suffix_intel,
+  assem_e_extended_not_supported,
+  assem_e_comp_not_supported,
+  assem_w_mmxwarning_as_281,
+  assem_f_too_many_asm_files,
+  assem_f_assembler_output_not_supported,
+  assem_e_unsupported_symbol_type,
+  exec_i_assembling_pipe,
+  exec_d_cant_create_asmfile,
+  exec_w_assembler_not_found,
+  exec_u_using_assembler,
+  exec_w_error_while_assembling,
+  exec_w_cant_call_assembler,
+  exec_i_assembling,
+  exec_w_linker_not_found,
+  exec_u_using_linker,
+  exec_w_objfile_not_found,
+  exec_w_libfile_not_found,
+  exec_w_error_while_linking,
+  exec_w_cant_call_linker,
+  exec_i_linking,
+  exec_w_binder_not_found,
+  exec_w_ar_not_found,
+  exec_e_dll_not_supported,
+  exec_i_closing_script,
+  unit_u_ppu_loading,
+  unit_d_ppu_time,
+  unit_d_ppu_file_too_short,
+  unit_d_ppu_invalid_header,
+  unit_d_ppu_invalid_version,
+  unit_d_ppu_flags,
+  unit_d_ppu_crc,
+  unit_t_ppu_source,
+  unit_d_obj_and_asm_are_older_than_ppu,
+  unit_d_obj_is_older_than_asm,
+  unit_t_unitsearch,
+  unit_u_ppu_write,
+  unit_f_ppu_cannot_write,
+  unit_f_ppu_read_error,
+  unit_f_ppu_invalid_entry,
+  unit_f_ppu_dbx_count_problem,
+  unit_e_illegal_unit_name,
+  unit_f_too_much_units,
+  unit_f_circular_unit_reference,
+  unit_f_cant_compile_unit,
+  unit_w_switch_us_missed,
+  unit_f_errors_in_unit,
+  option_usage,
+  option_only_one_source_support,
+  option_def_only_for_os2,
+  option_no_nested_response_file,
+  option_no_source_found,
+  option_illegal_para,
+  option_help_pages_para,
+  option_too_many_cfg_files,
+  option_unable_open_file,
+  option_reading_further_from,
+  option_target_is_already_set,
+  option_no_shared_lib_under_dos,
+  option_too_many_ifdef,
+  option_too_many_endif,
+  option_too_less_endif,
+  option_no_debug_support,
+  option_no_debug_support_recompile_fpc,
+  option_logo_start,
+  option_logo_end,
+  option_info_start,
+  option_info1,
+  option_info2,
+  option_info3,
+  option_info4,
+  option_info5,
+  option_info6,
+  option_info7,
+  option_info8,
+  option_info_end,
+  ol_begin,
+  ol001,
+  ol002,
+  ol003,
+  ol004,
+  ol005,
+  ol006,
+  ol007,
+  ol008,
+  ol009,
+  ol010,
+  ol011,
+  ol012,
+  ol013,
+  ol014,
+  ol015,
+  ol016,
+  ol017,
+  ol018,
+  ol019,
+  ol020,
+  ol021,
+  ol022,
+  ol023,
+  ol024,
+  ol025,
+  ol026,
+  ol027,
+  ol028,
+  ol029,
+  ol030,
+  ol031,
+  ol032,
+  ol033,
+  ol034,
+  ol035,
+  ol036,
+  ol037,
+  ol038,
+  ol039,
+  ol040,
+  ol041,
+  ol042,
+  ol043,
+  ol044,
+  ol045,
+  ol046,
+  ol047,
+  ol048,
+  ol049,
+  ol050,
+  ol051,
+  ol052,
+  ol053,
+  ol054,
+  ol055,
+  ol056,
+  ol057,
+  ol058,
+  ol059,
+  ol060,
+  ol061,
+  ol062,
+  ol063,
+  ol064,
+  ol065,
+  ol066,
+  ol067,
+  ol068,
+  ol069,
+  ol070,
+  ol071,
+  ol072,
+  ol073,
+  ol074,
+  ol075,
+  ol076,
+  ol077,
+  ol078,
+  ol079,
+  ol080,
+  ol081,
+  ol082,
+  ol083,
+  ol084,
+  ol085,
+  ol086,
+  ol087,
+  ol088,
+  ol089,
+  ol090,
+  ol091,
+  ol092,
+  ol093,
+  ol094,
+  ol095,
+  ol096,
+  ol097,
+  ol098,
+  ol099,
+  ol100,
+  ol101,
+  ol102,
+  ol103,
+  ol104,
+  ol105,
+  ol106,
+  ol107,
+  ol108,
+  ol109,
+  ol110,
+  ol111,
+  ol112,
+  ol113,
+  ol114,
+  ol115,
+  ol116,
+  ol117,
+  ol118,
+  ol119,
+  ol_end,
 endmsgconst
 );

+ 258 - 109
compiler/msgtxt.inc

@@ -1,4 +1,4 @@
-const msgtxt : array[0..00058,1..255] of char=(
+const msgtxt : array[0..00084,1..240] of char=(+
   'U_Compiler: $1'#000+
   'D_Source OS: $1'#000+
   'I_Target OS: $1'#000+
@@ -9,8 +9,8 @@ const msgtxt : array[0..00058,1..255] of char=(
   'U_Using object path: $1'#000+
   'I_$1 Lines compiled, $2 sec'#000+
   'F_No memory left'#000+
-  'F_Unexpected end of file'#000+
-  'F_String excee','ds line'#000+
+  'F_Unexpected end of file',#000+
+  'F_String exceeds line'#000+
   'F_illegal character'#000+
   'F_Syntax error $1 expected'#000+
   'U_Start reading includefile $1'#000+
@@ -18,28 +18,28 @@ const msgtxt : array[0..00058,1..255] of char=(
   'N_$F directive (FAR) ignored'#000+
   'N_Stack check is global under linux'#000+
   'W_Illegal compiler switch'#000+
-  'W_This compiler switch has a global effect'#000+
-  'E_Illegal ','char constant'#000+
+  'W_This compiler switch ','has a global effect'#000+
+  'E_Illegal char constant'#000+
   'F_Can'#039't open file $1'#000+
   'F_Can'#039't open include file $1'#000+
   'E_Too many $ENDIFs or $ELSEs'#000+
   'W_Records fields can be aligned to 1,2,4 or 16 bytes only'#000+
   'E_$1 expected for $2 defined in line $3'#000+
-  'E_Syntax error while parsing a conditional compiling expression'#000,+
+  'E_Syntax error whil','e parsing a conditional compiling expression'#000+
   'E_Evaluating a conditional compiling expression'#000+
   'W_Macro contents is cut after char 255 to evalute expression'#000+
   'E_ENDIF without IF(N)DEF'#000+
   'F_User defined: $1'#000+
   'E_User defined: $1'#000+
   'W_User defined: $1'#000+
-  'N_User defined: $1'#000+
+  'N_Us','er defined: $1'#000+
   'H_User defined: $1'#000+
   'I_User defined: $1'#000+
-  'E_Keywo','rd redefined as macro has no effect'#000+
+  'E_Keyword redefined as macro has no effect'#000+
   'F_Macro buffer overflow while reading or expanding a macro'#000+
   'W_Extension of macros exceeds a deep of 16, perhaps there is a recursi'+
-  've macro definition (crashes the compiler)'#000+
-  'E_compiler switches aren'#039't allowed in (* ... *)',' styled comments'#000+
+  've macro defini','tion (crashes the compiler)'#000+
+  'E_compiler switches aren'#039't allowed in (* ... *) styled comments'#000+
   'D_Handling switch "$1"'#000+
   'C_ENDIF $1 found'#000+
   'C_IFDEF $1 found, $2'#000+
@@ -47,69 +47,69 @@ const msgtxt : array[0..00058,1..255] of char=(
   'C_IF $1 found, $2'#000+
   'C_IFNDEF $1 found, $2'#000+
   'C_ELSE $1 found, $2'#000+
-  'C_Skipping until...'#000+
+  'C_Skip','ping until...'#000+
   'I_Press <return> to continue'#000+
   'W_Unsupported switch $1'#000+
-  'W_Illegal compiler dire','ctive $1'#000+
+  'W_Illegal compiler directive $1'#000+
   'D_Back in $1'#000+
   'W_Unsupported assembler style specified $1'#000+
   'E_Parser - Syntax Error'#000+
   'W_Procedure type FAR ignored'#000+
   'W_Procedure type NEAR ignored'#000+
-  'E_No DLL File specified'#000+
+  'E_','No DLL File specified'#000+
   'E_Constructor name must be INIT'#000+
   'E_Destructor name must be DONE'#000+
-  'E_Illegal open param','eter'#000+
+  'E_Illegal open parameter'#000+
   'E_Procedure type INLINE not supported'#000+
   'W_Private methods shouldn'#039't be VIRTUAL'#000+
   'W_Constructor should be public'#000+
-  'W_Destructor should be public'#000+
+  'W_Destructor should be',' public'#000+
   'N_Class should have one destructor only'#000+
   'E_Local class definitions are not allowed'#000+
-  'E_Anonym class definitions are',' not allowed'#000+
+  'E_Anonym class definitions are not allowed'#000+
   'E_Ordinal value expected'#000+
   'E_Illegal parameter list'#000+
   'E_overloaded identifier isn'#039't a function identifier'#000+
-  'E_overloaded functions have the same parameter list'#000+
+  'E_ove','rloaded functions have the same parameter list'#000+
   'E_function header doesn'#039't match the forward declaration $1'#000+
-  'N_only values can be jumped o','ver in enumeration types'#000+
+  'N_only values can be jumped over in enumeration types'#000+
   'N_Interface and implementation names are different !'#000+
   'E_function nesting > 31'#000+
-  'E_range check error while evaluating constants'#000+
+  'E_r','ange check error while evaluating constants'#000+
   'E_pointer type expected'#000+
   'E_class type expected'#000+
   'E_duplicate case label'#000+
-  'E_typed constants of classes are not ','allowed'#000+
+  'E_typed constants of classes are not allowed'#000+
   'E_functions variables of overloaded functions are not allowed'#000+
-  'E_string length must be a value from 1 to 255'#000+
+  'E_string length must',' be a value from 1 to 255'#000+
   'W_use extended syntax of DISPOSE and NEW to generate instances of obje'+
   'cts'#000+
   'E_class identifier expected'#000+
   'E_method identifier expected'#000+
-  'E_functi','on header doesn'#039't match any method of this class'#000+
+  'E_function header doesn'#039't match any method of this class'#000+
   'P_procedure/function $1'#000+
-  'E_Illegal floating point constant'#000+
+  'E_','Illegal floating point constant'#000+
   'E_FAIL can be used in constructors only'#000+
   'E_Destructors can'#039't have parameters'#000+
   'E_string types doesn'#039't match, because of $V+ mode'#000+
-  'E_Only class methods c','an be referred with class references'#000+
-  'E_Only class methods can be accessed in class methods'#000+
+  'E_Only class methods can be referred with class references'#000+
+  'E_Only class methods ca','n be accessed in class methods'#000+
   'E_Constant and CASE types do not match'#000+
   'E_The symbol can'#039't be exported from a library'#000+
   'W_A inherited method is hidden by $1'#000+
-  'E_There is no method in an ancestor class ','to be overridden: $1'#000+
-  'E_No member is provided to access property'#000+
+  'E_There is no method in an ancestor class to be overridden: $1'#000+
+  'E_No member is provided ','to access property'#000+
   'E_Illegal symbol for property access'#000+
   'E_Cannot access a protected field of an object here'#000+
   'E_Cannot access a private field of an object here'#000+
-  'E_all overloaded methods must be virtual if one is v','irtual: $1'#000+
-  'E_overloaded methods which are virtual must have the same return type:'+
-  ' $1'#000+
+  'E_all overloaded methods must be virtual if one is virtual: $1'#000+
+  'E_overloaded method','s which are virtual must have the same return typ'+
+  'e: $1'#000+
   'E_EXPORT declared functions can'#039't be nested'#000+
   'E_methods can'#039't be EXPORTed'#000+
   'E_call by var parameters have to match exactly'#000+
   'E_Class isn'#039't a super class of the current class'#000+
-  'E_','SELF is only allowed in methods'#000+
+  'E_SELF is only al','lowed in methods'#000+
   'E_methods can be only in other methods called direct with type identif'+
   'ier of the class'#000+
   'E_Illegal use of '#039':'#039#000+
@@ -121,94 +121,93 @@ const msgtxt : array[0..00058,1..255] of char=(
   'W_Using / will give a floating point result, use DIV instead to get an'+
   ' integer result'#000+
   'E_Illegal order of record elements'#000+
-  'E_Expression type must by class or record typ','e'#000+
+  'E_Expression type must by clas','s or record type'#000+
   'E_Functions with void return value can'#039't return any value'#000+
   'E_constructors and destructors must be methods'#000+
   'W_Automatic type conversion from floating type to COMP which is an int'+
   'eger type'#000+
   'E_Operator is not overloaded'#000+
-  'E_Variable or type indentifier expected',#000+
+  'E_Variabl','e or type indentifier expected'#000+
   'E_Re-raise isn'#039't possible there'#000+
   'E_The extended syntax of new or dispose isn'#039't allowed for a class'#000+
   'E_Assembler incompatible with function return value'#000+
   'E_Procedure overloading is switched off'#000+
-  'E_It is not possible to overload this operator (overload = inste','ad)'#000+
+  'E_It is not possibl','e to overload this operator (overload = instead)'#000+
   'E_Comparative operator must return a boolean value'#000+
   'E_Only virtual methods can be abstract'#000+
   'F_Use of unsupported feature!'#000+
   'E_The mix of CLASSES and OBJECTS isn'#039't allowed'#000+
-  'W_Unknown procedure directive had to be ignored: $1'#000+
-  'E_absolute can only be associate','d to ONE variable'#000+
+  'W_Unknown procedure dire','ctive had to be ignored: $1'#000+
+  'E_absolute can only be associated to ONE variable'#000+
   'E_absolute can only be associated a var or const'#000+
   'E_Abtract methods shouldn'#039't have any definition (with function bod'+
   'y)'#000+
-  'E_This overloaded function can'#039't be local (must be exported)'#000+
+  'E_This overloaded function can'#039't be local (m','ust be exported)'#000+
   'E_succ or pred on enums with assignments not possible'#000+
-  'W_Vi','rtual methods are used without a constructor in $1'#000+
+  'W_Virtual methods are used without a constructor in $1'#000+
   'M_Macro defined: $1'#000+
   'M_Macro undefined: $1'#000+
   'M_Macro $1 set to $2'#000+
   'I_Compiling $1'#000+
   'D_Compiling $1 for the second time'#000+
-  'E_Array properties aren'#039't allowed at this point'#000+
+  'E','_Array properties aren'#039't allowed at this point'#000+
   'E_No property found to override'#000+
-  'E_Only one ','default property is allowed, found inherited default prop'+
-  'erty in class %1'#000+
+  'E_Only one default property is allowed, found inherited default proper'+
+  'ty in class %1'#000+
   'E_The default property must be an array property'#000+
-  'E_Virtual constructors are only supported in class object model'#000+
+  'E_Virtual constructors are ','only supported in class object model'#000+
   'E_No default property available'#000+
-  'E_The class can'#039't have a published s','ection, use the {$M+} switch'+
-  #000+
+  'E_The class can'#039't have a published section, use the {$M+} switch'#000+
   'E_Forward declaration of class $1 must be resolved here to use the cla'+
   'ss as anchestor'#000+
-  'E_Local operators not supported'#000+
+  'E_Local operators no','t supported'#000+
   'E_Procedure directive $1 not allowed in interface section'#000+
-  'E_Procedure directive $1 not allowed in implementa','tion section'#000+
+  'E_Procedure directive $1 not allowed in implementation section'#000+
   'E_Procedure directive $1 not allowed in procvar declaration'#000+
-  'E_Function is already declared Public/Forward $1'#000+
+  'E_Function is already declared Public/Forward $','1'#000+
   'E_Can'#039't use both EXPORT and EXTERNAL'#000+
   'E_NAME keyword expected'#000+
   'W_$1 not yet supported inside inline procedure/function'#000+
-  'W_Inlining disab','led'#000+
+  'W_Inlining disabled'#000+
   'I_Writing Browser log $1'#000+
   'H_may be pointer deref ^ is missing'#000+
-  'F_Selected assembler reader not supported'#000+
+  'F_Selected assembler reader not supporte','d'#000+
   'W_Local variable $1 doesn'#039't seem to be initialized yet !'#000+
   'E_Identifier not found $1'#000+
   'F_Internal Error in SymTableStack()'#000+
   'E_Duplicate identifier $1'#000+
-  'E_U','nknown identifier $1'#000+
+  'E_Unknown identifier $1'#000+
   'E_Forward declaration not solved: $1'#000+
-  'F_Identifier type already defined as type'#000+
+  'F_Identifier type already define','d as type'#000+
   'E_Type identifier expected'#000+
   'E_Type mismatch'#000+
   'E_Error in type defenition'#000+
   'E_Type identifier not defined'#000+
-  'E_Only static variables can be used in static methods o','r outside met'+
-  'hods'#000+
+  'E_Only static variables can be used in static methods or outside metho'+
+  'ds'#000+
   'E_Invalid call to tvarsym.mangledname()'#000+
-  'F_record or class type expected'#000+
+  'F_record or class',' type expected'#000+
   'E_To generate an instance of a class or an object with an abtract meth'+
   'od isn'#039't allowed'#000+
   'E_Label not defined $1'#000+
   'E_Illegal label declaration'#000+
-  'E_GOTO und LABEL are not su','pported (use command line switch -Sg)'#000+
+  'E_GOTO und LABEL are not supported (use command line switch -Sg)'#000+
   'E_Label not found'#000+
-  'E_identifier isn'#039't a label'#000+
+  'E_id','entifier isn'#039't a label'#000+
   'E_label already defined'#000+
   'E_illegal type declaration of set elements'#000+
   'E_Forward class definition not resolved $1'#000+
   'H_Parameter not used $1'#000+
   'W_Local variable not used $1'#000+
-  'E_Set ele','ments are not compatible'#000+
-  'E_Set type expected'#000+
+  'E_Set elements are not compatible'#000+
+  'E_Set type expected'#000,+
   'W_Function result does not seem to be set'#000+
   'E_Unknown field identifier'#000+
   'W_Local variable $1 does not seem to be initialized'#000+
   'E_identifier idents no member $1'#000+
   'E_BREAK not allowed'#000+
   'E_CONTINUE not allowed'#000+
-  'E_Expression ','too complicated - FPU stack overflow'#000+
+  'E_Expression too complicated - FPU stack ov','erflow'#000+
   'E_Illegal expression'#000+
   'E_Invalid integer'#000+
   'E_Illegal qualifier'#000+
@@ -216,7 +215,7 @@ const msgtxt : array[0..00058,1..255] of char=(
   'E_Illegal counter variable'#000+
   'E_Can'#039't determine which overloaded function to call'#000+
   'E_Parameter list size exceeds 65535 bytes'#000+
-  'E','_Illegal type conversion'#000+
+  'E_Illegal type c','onversion'#000+
   'E_File types must be var parameters'#000+
   'E_The use of a far pointer isn'#039't allowed there'#000+
   'E_illegal call by reference parameters'#000+
@@ -229,109 +228,109 @@ const msgtxt : array[0..00058,1..255] of char=(
   'E_Abstract methods can'#039't be called directly'#000+
   'F_Internal Error in getfloatreg(), allocation failure'#000+
   'F_Unknown float type'#000+
-  'F_SecondVecn() base defined twice'#000+
-  'F_E','xtended cg68k not supported'#000+
+  'F_SecondVecn() base de','fined twice'#000+
+  'F_Extended cg68k not supported'#000+
   'F_32-bit unsigned not supported in MC68000 mode'#000+
   'F_Internal Error in secondinline()'#000+
   'D_Register $1 weight $2 $3'#000+
   'E_Stack limit excedeed in local routine'#000+
   'D_Stack frame is omited'#000+
-  'E_Unable to inline object methods'#000+
-  'E_Unable to inline ','procvar calls'#000+
+  'E_Unable to inline obje','ct methods'#000+
+  'E_Unable to inline procvar calls'#000+
   'E_No code for inline procedure stored'#000+
   'F_Divide by zero in asm evaluator'#000+
   'F_Evaluator stack overflow'#000+
   'F_Evaluator stack underflow'#000+
   'F_Invalid numeric format in asm evaluator'#000+
-  'F_Invalid Operator in asm evaluator'#000+
+  'F_Invalid Operator in asm e','valuator'#000+
   'F_Unknown error in asm evaluator'#000+
-  'W_I','nvalid numeric value'#000+
+  'W_Invalid numeric value'#000+
   'E_escape sequence ignored: $1'#000+
   'E_Asm syntax error - Prefix not found'#000+
   'E_Asm syntax error - Trying to add more than one prefix'#000+
   'E_Asm syntax error - Opcode not found'#000+
-  'E_Invalid symbol reference'#000+
+  'E_Invalid sy','mbol reference'#000+
   'W_Calling an overload function in an asm'#000+
-  'E_Co','nstant value out of bounds'#000+
+  'E_Constant value out of bounds'#000+
   'E_Non-label pattern contains @'#000+
   'E_Invalid Operand: $1'#000+
   'W_Override operator not supported'#000+
   'E_Error in binary constant: $1'#000+
   'E_Error in octal constant: $1'#000+
-  'E_Error in hexadecimal constant: $1'#000+
+  'E_Err','or in hexadecimal constant: $1'#000+
   'E_Error in integer constant: $1'#000+
-  'E_Invalid la','beled opcode'#000+
+  'E_Invalid labeled opcode'#000+
   'F_Internal error in Findtype()'#000+
   'E_Invalid size for MOVSX/MOVZX'#000+
   'E_16-bit base in 32-bit segment'#000+
   'E_16-bit index in 32-bit segment'#000+
   'E_Invalid Opcode'#000+
-  'E_Constant reference not allowed'#000+
+  'E_Consta','nt reference not allowed'#000+
   'W_Fwait can cause emulation problems with emu387'#000+
-  'E_Invalid combin','ation of opcode and operands'#000+
+  'E_Invalid combination of opcode and operands'#000+
   'W_Opcode $1 not in table, operands not checked'#000+
   'F_Internal Error in ConcatOpcode()'#000+
   'E_Invalid size in reference'#000+
-  'E_Invalid middle sized operand'#000+
+  'E_Invalid m','iddle sized operand'#000+
   'E_Invalid three operand opcode'#000+
   'E_Assembler syntax error'#000+
   'E_Invalid operand type'#000+
-  'E_Segm','ent overrides not supported'#000+
+  'E_Segment overrides not supported'#000+
   'E_Invalid constant symbol $1'#000+
   'F_Internal Errror converting binary'#000+
   'F_Internal Errror converting hexadecimal'#000+
-  'F_Internal Errror converting octal'#000+
+  'F','_Internal Errror converting octal'#000+
   'E_Invalid constant expression'#000+
   'E_Unknown identifier: $1'#000+
-  'E_Trying to define an index reg','ister more than once'#000+
+  'E_Trying to define an index register more than once'#000+
   'E_Invalid field specifier'#000+
   'F_Internal Error in BuildScaling()'#000+
   'E_Invalid scaling factor'#000+
-  'E_Invalid scaling value'#000+
+  'E_Invalid sca','ling value'#000+
   'E_Scaling value only allowed with index'#000+
   'E_Invalid assembler syntax. No ref with brackets)'#000+
-  'E_Expressions of the form [sreg:re','g...] are currently not supported'#000+
+  'E_Expressions of the form [sreg:reg...] are currently not supported'#000+
   'E_Trying to define a segment register twice'#000+
-  'E_Trying to define a base register twice'#000+
+  'E_Trying to define a base r','egister twice'#000+
   'E_Trying to use a negative index register'#000+
   'E_Asm syntax error - error in reference'#000+
   'E_Local symbols not allowed as references'#000+
-  'E_Invalid op','erand in bracket expression'#000+
+  'E_Invalid operand in bracket expression'#000+
   'E_Invalid symbol name: $1'#000+
   'E_Invalid Reference syntax'#000+
-  'E_Invalid string as opcode operand: $1'#000+
+  'E_Invalid',' string as opcode operand: $1'#000+
   'W_@CODE and @DATA not supported'#000+
   'E_Null label references are not allowed'#000+
   'E_Cannot use SELF outside a method'#000+
-  'E_Asm syntax error - Should ','start with bracket'#000+
+  'E_Asm syntax error - Should start with bracket'#000+
   'E_Asm syntax error - register: $1'#000+
-  'E_SEG and OFFSET not supported'#000+
+  'E_SEG and OFFSET not s','upported'#000+
   'E_Asm syntax error - in opcode operand'#000+
   'E_Invalid String expression'#000+
   'E_Constant expression out of bounds'#000+
   'F_Internal Error in BuildConstant()'#000+
-  'W_A repeat prefix and a segment ','override on <= i386 may result in er'+
-  'rors if an interrupt occurs'#000+
+  'W_A repeat prefix and a segment override on <= i386 may result in erro'+
+  'rs if an interrupt occ','urs'#000+
   'E_Invalid or missing opcode'#000+
   'E_Invalid combination of prefix and opcode: $1'#000+
   'E_Invalid combination of override and opcode: $1'#000+
   'E_Too many operands on line'#000+
   'E_Duplicate local symbol: $1'#000+
-  'E_Unknown ','label identifer: $1'#000+
-  'E_Assemble node syntax error'#000+
+  'E_Unknown label identifer: $1'#000+
+  'E_Assemble node syntax er','ror'#000+
   'E_Undefined local symbol: $1'#000+
   'D_Starting intel styled assembler parsing...'#000+
   'D_Finished intel styled assembler parsing...'#000+
   'E_Not a directive or local symbol: $1'#000+
   'E_/ at beginning of line not allowed'#000+
-  'E_NOR not su','pported'#000+
-  'E_Invalid floating point register name'#000+
+  'E_NOR not supported'#000+
+  'E_Invalid floating poi','nt register name'#000+
   'W_Modulo not supported'#000+
   'E_Invalid floating point constant: $1'#000+
   'E_Size suffix and destination register do not match'#000+
   'E_Internal error in ConcatLabeledInstr()'#000+
   'W_Floating point binary representation ignored'#000+
-  'W_Float','ing point hexadecimal representation ignored'#000+
+  'W_Floating point hexad','ecimal representation ignored'#000+
   'W_Floating point octal representation ignored'#000+
   'E_Invalid real constant expression'#000+
   'E_Parenthesis are not allowed'#000+
@@ -343,7 +342,7 @@ const msgtxt : array[0..00058,1..255] of char=(
   'E_Strings not allowed as constants'#000+
   'D_Starting AT&T styled assembler parsing...'#000+
   'D_Finished AT&T styled assembler parsing...'#000+
-  'E_Switching sections is not allowed in an assembler b','lock'#000+
+  'E_Switching sections is not allowed in',' an assembler block'#000+
   'E_Invalid global definition'#000+
   'E_Line separator expected'#000+
   'W_globl not supported'#000+
@@ -352,72 +351,222 @@ const msgtxt : array[0..00058,1..255] of char=(
   'W_comm not supported'#000+
   'E_Invalid local common definition'#000+
   'E_Invalid global common definition'#000+
-  'E_local symbol: $1 not found inside asm ','statement'#000+
+  'E_local sy','mbol: $1 not found inside asm statement'#000+
   'E_assembler code not returned to text'#000+
   'F_internal error in BuildReference()'#000+
   'E_invalid opcode size'#000+
   'W_NEAR ignored'#000+
   'W_FAR ignored'#000+
   'D_Creating inline asm lookup tables'#000+
-  'W_Using a defined name as a local label'#000+
+  'W_Using a defined name as a local labe','l'#000+
   'F_internal error in HandleExtend()'#000+
-  'E_Invali','d character: <'#000+
+  'E_Invalid character: <'#000+
   'E_Invalid character: >'#000+
   'E_Unsupported opcode'#000+
   'E_Increment and Decrement mode not allowed together'#000+
   'E_Invalid Register list in movem/fmovem'#000+
   'E_Invalid Register list for opcode'#000+
-  'E_68020+ mode required to assemble'#000+
-  'D_Starting Motorola styled assembl','er parsing...'#000+
+  'E_68020+ ','mode required to assemble'#000+
+  'D_Starting Motorola styled assembler parsing...'#000+
   'D_Finished Motorola styled assembler parsing...'#000+
   'W_XDEF not supported'#000+
   'W_Functions with void return value can'#039't return any value in asm c'+
   'ode'#000+
-  'E_Invalid suffix for intel assembler'#000+
+  'E_Invalid suffix for intel ','assembler'#000+
   'E_Extended not supported in this mode'#000+
-  'E_Comp not supported in thi','s mode'#000+
+  'E_Comp not supported in this mode'#000+
   'W_You need GNU as version >= 2.81 to compile this MMX code'#000+
   'F_Too many assembler files'#000+
   'F_Selected assembler output not supported'#000+
-  'E_Unsupported symbol type for operand'#000+
+  'E_Unsupported symbol type for ','operand'#000+
   'I_Assembling (pipe) $1'#000+
   'E_Can'#039't create assember file $1'#000+
-  'W_Assembler $1 not found, s','witching to external assembling'#000+
+  'W_Assembler $1 not found, switching to external assembling'#000+
   'U_Using assembler: $1'#000+
   'W_Error while assembling'#000+
   'W_Can'#039't call the assembler, switching to external assembling'#000+
-  'I_Assembling $1'#000+
+  'I_Assembli','ng $1'#000+
   'W_Linker $1 not found, switching to external linking'#000+
   'U_Using linker: $1'#000+
-  'W_Object $1 not found, Link','ing may fail !'#000+
+  'W_Object $1 not found, Linking may fail !'#000+
   'W_Library $1 not found, Linking may fail !'#000+
   'W_Error while linking'#000+
-  'W_Can'#039't call the linker, switching to external linking'#000+
+  'W_Can'#039't call the linker, switching to external linking'#000,+
   'I_Linking $1'#000+
   'W_binder not found, switching to external binding'#000+
   'W_ar not found, switching to external ar'#000+
-  'E_Dynamic Librar','ies not supported'#000+
+  'E_Dynamic Libraries not supported'#000+
   'I_Closing script $1'#000+
   'U_PPU Loading $1'#000+
   'D_PPU Time: $1'#000+
   'D_PPU File too short'#000+
-  'D_PPU Invalid Header (no PPU at the begin)'#000+
+  'D_PPU Invalid Header (no PPU ','at the begin)'#000+
   'D_PPU Invalid Version $1'#000+
   'D_PPU Flags: $1'#000+
   'D_PPU Crc: $1'#000+
   'T_PPU Source: $1'#000+
-  'D_objectfile and assemblerfile are older than ppu','file'#000+
+  'D_objectfile and assemblerfile are older than ppufile'#000+
   'D_objectfile is older than assemblerfile'#000+
   'T_Unitsearch: $1'#000+
   'U_Writing $1'#000+
   'F_Can'#039't Write PPU-File'#000+
-  'F_reading PPU-File'#000+
+  'F_read','ing PPU-File'#000+
   'F_Invalid PPU-File entry: $1'#000+
   'F_PPU Dbx count problem'#000+
   'E_Illegal unit name: $1'#000+
   'F_Too much units'#000+
   'F_Circular unit reference'#000+
-  'F_Can'#039't compile u','nit $1, no sources available'#000+
+  'F_Can'#039't compile unit $1, no sources available'#000+
   'W_Compiling the system unit requires the -Us switch'#000+
-  'F_There were $1 errors compiling module, stopping'#000
+  'F_There w','ere $1 errors compiling module, stopping'#000+
+  '$1 [options] <inputfile> [options]'#000+
+  'W_Only one source file supported'#000+
+  'W_DEF file can be created only for OS/2'#000+
+  'E_nested response files are not supported'#000+
+  'F_No source file name in command line'#000+
+  'E_Illegal p','arameter: $1'#000+
+  'H_-? writes help pages'#000+
+  'F_Too many config files nested'#000+
+  'F_Unable to open file $1'#000+
+  'N_Reading further options from $1'#000+
+  'W_Target is already set to: $1'#000+
+  'W_Shared libs not supported on DOS platform, reverting to static'#000+
+  'F_too many IF(N)DE','Fs'#000+
+  'F_too many ENDIFs'#000+
+  'F_open conditional at the end of the file'#000+
+  'W_Debug information generation is not supported by this executable'#000+
+  'H_Try recompiling with -dGDB'#000+
+  'Free Pascal Compiler version $FPCVER [$FPCDATE] for $FPCTARGET'#000+
+  'Copyright (c) 1993','-98 by Florian Klaempfl'#000+
+  'Free Pascal Compiler version $FPCVER'#000+
+  '<lf>'#000+
+  'Compiler Date  : $FPCDATE'#000+
+  'Compiler Target: $FPCTARGET'#000+
+  '<lf>'#000+
+  'This program comes under the GNU General Public Licence'#000+
+  'For more information read COPYING.FPC'#000+
+  '<lf>'#000+
+  'Report bugs,sugg','estions etc to:'#000+
+  '                [email protected]'#000+
+  '**0*_+ switch option on, - off'#000+
+  '**1a_the compiler doesn'#039't delete the generated assembler file'#000+
+  '*t1b_use EMS'#000+
+  '**1B_build all modules'#000+
+  '**1C_code generation options'#000+
+  '3*2CD_create dyna','mic library'#000+
+  '**2Ch<n>_<n> bytes heap (between 1023 and 67107840)'#000+
+  '**2Ci_IO-checking'#000+
+  '**2Cn_omit linking stage'#000+
+  '**2Co_check overflow of integer operations'#000+
+  '**2Cr_range checking'#000+
+  '**2Cs<n>_set stack size to <n>'#000+
+  '**2Ct_stack checking'#000+
+  '3*2CS_create stat','ic library'#000+
+  '3*2Cx_use smartlinking'#000+
+  '**1d<x>_defines the symbol <x>'#000+
+  '*O1D_generate a DEF file'#000+
+  '*O2Dd<x>_set description to <x>'#000+
+  '*O2Dw_PM application'#000+
+  '**1e<x>_set path to executable'#000+
+  '**1E_same as -Cn'#000+
+  '**1F_set file names and paths'#000+
+  '**2Fe<x>_redirect e','rror output to <x>'#000+
+  '*L2Fg<x>_same as -Fl'#000+
+  '**2Fi<x>_adds <x> to include path'#000+
+  '**2Fl<x>_adds <x> to library path'#000+
+  '*L2FL<x>_uses <x> as dynamic linker'#000+
+  '**2Fo<x>_adds <x> to object path'#000+
+  '**2Fr<x>_load error message file <x>'#000+
+  '**2Fu<x>_adds <x> to unit ','path'#000+
+  '*g1g_generate debugger information'#000+
+  '*g2gg_use gsym'#000+
+  '*g2gd_use dbx'#000+
+  '**1i_information'#000+
+  '**1I<x>_adds <x> to include path'#000+
+  '**1k<x>_Pass <x> to the linker'#000+
+  '**1l_write logo'#000+
+  '**1n_don'#039't read the default config file'#000+
+  '**1o<x>_change the name of the exe','cutable produced to <x>'#000+
+  '**1pg_generate profile code for gprof'#000+
+  '*L1P_use pipes instead of creating temporary assembler files'#000+
+  '**1S_syntax options'#000+
+  '**2S2_switch some Delphi 2 extensions on'#000+
+  '**2Sc_supports operators like C (*=,+=,/= and -=)'#000+
+  '**2Sd_','compiler disposes asm lists (uses less memory but slower)'#000+
+  '**2Se_compiler stops after the first error'#000+
+  '**2Sg_allow LABEL and GOTO'#000+
+  '**2Si_support C++ stlyed INLINE'#000+
+  '**2Sm_support macros like C (global)'#000+
+  '**2So_tries to be TP/BP 7.0 compatible'#000+
+  '**2S','p_tries to be gpc compatible'#000+
+  '**2Ss_constructor name must be init (destructor must be done)'#000+
+  '**2St_allow static keyword in objects'#000+
+  '**2Sv_allow variable directives (cvar,external,public,export)'#000+
+  '**1s_don'#039't call assembler and linker (only with -','a)'#000+
+  '**1T<x>_Target operating system'#000+
+  '3*2TGO32V1_version 1 of DJ Delorie DOS extender'#000+
+  '3*2TGO32V2_version 2 of DJ Delorie DOS extender'#000+
+  '3*2TLINUX_Linux'#000+
+  '3*2TOS2_OS/2 2.x'#000+
+  '3*2TWin32_Windows 32 Bit'#000+
+  '6*2TAMIGA_Commodore Amiga'#000+
+  '6*2TATARI_Atari ST/STe/TT',#000+
+  '6*2TMACOS_Macintosh m68k'#000+
+  '6*2TLINUX_Linux-68k'#000+
+  '**1u<x>_undefines the symbol <x>'#000+
+  '**1U_unit options'#000+
+  '**2Un_don'#039't check the unit name'#000+
+  '**2Up<x>_same as -Fu<x>'#000+
+  '**2Us_compile a system unit'#000+
+  '**1v<x>_Be verbose. <x> is a combination of the following l','etters :'#000+
+  '**2*_e : Show errors (default)       d : Show debug info'#000+
+  '**2*_w : Show warnings               u : Show used files'#000+
+  '**2*_n : Show notes                  t : Show tried files'#000+
+  '**2*_h : Show hints                  m : Show defined macro','s'#000+
+  '**2*_i : Show general info           p : Show compiled procedures'#000+
+  '**2*_l : Show linenumbers            c : Show conditionals'#000+
+  '**2*_a : Show everything             0 : Show nothing (except errors)'#000+
+  '**1X_executable options'#000+
+  '*L2Xc_link with the',' c library'#000+
+  '**2XD_link with dynamic libraries (defines FPC_LINK_DYNAMIC)'#000+
+  '**2Xs_strip all symbols from executable'#000+
+  '**2XS_link with static libraries (defines FPC_LINK_STATIC)'#000+
+  '**0*_Processor specific options:'#000+
+  '3*1A_output format'#000+
+  '3*2Ao_coff file u','sing GNU AS'#000+
+  '3*2Anasmcoff_coff file using Nasm'#000+
+  '3*2Anasmelf_elf32 (linux) file using Nasm'#000+
+  '3*2Anasmobj_obj file using Nasm'#000+
+  '3*2Amasm_obj using Masm (Mircosoft)'#000+
+  '3*2Atasm_obj using Tasm (Borland)'#000+
+  '3*1R_assembler reading style'#000+
+  '3*2Ratt_read AT&T sty','le assembler'#000+
+  '3*2Rintel_read Intel style assembler'#000+
+  '3*2Rdirect_copy assembler text directly to assembler file'#000+
+  '3*1O<x>_optimizations'#000+
+  '3*2Og_generate smaller code'#000+
+  '3*2OG_generate faster code (default)'#000+
+  '3*2Or_keep certain variables in registers (st','ill BUGGY!!!)'#000+
+  '3*2Ou_enable uncertain optimizations (see docs)'#000+
+  '3*2O1_level 1 optimizations (quick optimizations)'#000+
+  '3*2O2_level 2 optimizations (-O1 + slower optimizations)'#000+
+  '3*2O3_level 3 optimizations (same as -O2u)'#000+
+  '3*2Op_target processor'#000+
+  '3*3Op','1_set target processor to 386/486'#000+
+  '3*3Op2_set target processor to Pentium/PentiumMMX (tm)'#000+
+  '3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)'#000+
+  '6*1A_output format'#000+
+  '6*2Ao_Unix o-file using GNU AS'#000+
+  '6*2Agas_GNU Motorola assembler'#000+
+  '6*2Amit_MIT Synt','ax (old GAS)'#000+
+  '6*2Amot_Standard Motorola assembler'#000+
+  '6*1O_optimizations'#000+
+  '6*2Oa_turn on the optimizer'#000+
+  '6*2Og_generate smaller code'#000+
+  '6*2OG_generate faster code (default)'#000+
+  '6*2Ox_optimize maximum (still BUGGY!!!)'#000+
+  '6*2O2_set target processor to a MC68020','+'#000+
+  '**1*_'#000+
+  '**1?_shows this help'#000+
+  '**1h_shows this help without waiting'#000
 );

+ 0 - 58
compiler/optidx.inc

@@ -1,58 +0,0 @@
-{
-    $Id$
-    Copyright (c) 1998 by the FPC development team
-
-    This file includes the message index types which can be used to display
-    a message from the message file
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ****************************************************************************}
-
-const
-  optionhelplines=117; {amount of lines for the -?}
-type
-  toptionconst=(
-usage,
-only_one_source_support,
-def_only_for_os2,
-no_nested_response_file,
-no_source_found,
-illegal_para,
-help_pages_para,
-too_many_cfg_files,
-unable_open_file,
-reading_further_from,
-target_is_already_set,
-no_shared_lib_under_dos,
-too_many_ifdef,
-too_many_endif,
-too_less_endif,
-no_debug_support,
-no_debug_support_recompile_fpc,
-{logo}
-logo_start,
-logo_end,
-{info}
-info_start,
-info1,
-info2,
-info3,
-info4,
-info5,
-info_end,
-{This should be the last}
-endoptionconst
-);

+ 0 - 162
compiler/optione.msg

@@ -1,162 +0,0 @@
- [options] <inputfile> [options]
-Only one source file supported
-DEF file can be created only for OS/2
-nested response files are not supported
-No source file name in command line
-Illegal parameter: $1
--? writes help pages
-Too many config files nested
-Unable to open file $1
-Reading further options from $1
-Target is already set to: $1
-Shared libs not supported on DOS platform, reverting to static
-too many IF(N)DEFs
-too many ENDIFs
-open conditional at the end of the file
-Debug information generation is not supported by this executable
-Try recompiling with -dGDB
-;
-; Logo
-;
-Free Pascal Compiler version $VER for $TARGET
-Copyright (c) 1993-98 by Florian Klaempfl
-;
-; Info
-;
-Free Pascal Compiler version $VER
-<lf>
-This program comes under the GNU General Public Licence
-For more information read COPYING
-<lf>
-Report bugs,suggestions etc to:
-                [email protected]
-;
-; The -? help pages
-;
-; XXX<X>_<Text>
-; ||| +- letter(s)  [ the option letter(s) ]
-; ||+-- ident       [ 0123 level 0,1,2,3 ]
-; |+--- OS          [ L,D,W,O,t(TP),*(all) ]
-; +---- Processor   [ 3,6,*(all) ]
-;
-**0*_+ switch option on, - off
-**1a_the compiler doesn't delete the generated assembler file
-*t1b_use EMS
-**1B+_build
-**1C_code generation options
-**2Ca_not implemented
-**2Ce_not implemented
-3*2CD_Dynamic linking
-**2Ch<n>_<n> bytes heap (between 1023 and 67107840)
-**2Ci_IO-checking
-**2Cn_omit linking stage
-**2Co_check overflow of integer operations
-**2Cr_range checking
-*O2Cs<n>_set stack size to <n>
-**2Ct_stack checking
-3*2CS_static linking
-**1d<x>_defines the symbol <x>
-*O1D_controls the generation of DEF file (only OS/2)
-*O2Dd<x>_set description to <x>
-*O2Do_generate DEF file
-*O2Dw_PM application
-*L1e<x>_set path to executables
-**1E_same as -Cn
-**1g_generate debugger information
-**1F_set file names and paths
-**2Fe<x>_redirect error output to <x>
-*L2Fg<x>_<x> search path for the GNU C lib
-*L2Fr<x>_<x> search path for the error message file
-**2Fi<x>_adds <x> to include path
-**2Fl<x>_adds <x> to library path
-*L2FL<x>_uses <x> as dynamic linker
-**2Fu<x>_adds <x> to unit path
-**1k<x>_Pass <x> to the linker
-**1L_set language
-**2LD_German
-**2LE_English
-**2LN_Dutch
-**1l_write logo
-**1i_information
-**1n_don't read the default config file
-**1o<x>_change the name of the executable produced to <x>
-**1pg_generate profile code for gprof
-*L1P_use pipes instead of creating temporary assembler files
-**1S_syntax options
-**2S2_switch some Delphi 2 extension on
-**2Sc_supports operators like C (*=,+=,/= and -=)
-**2Sd_compiler disposes asm lists (uses less memory but slower)
-**2Se_compiler stops after the first error
-**2Sg_allows LABEL and GOTO
-**2Si_support C++ stlyed INLINE
-**2Sm_support macros like C (global)
-**2So_tries to be TP/BP 7.0 compatible
-**2Ss_constructor name must be init (destructor must be done)
-**2St_allows static keyword in objects
-**1s_don't call assembler and linker (only with -a)
-**1T<x>_Target operating system
-3*2TGO32V1_version 1 of DJ Delorie DOS extender
-3*2TGO32V2_version 2 of DJ Delorie DOS extender
-3*2TLINUX_Linux
-3*2TOS2_OS/2 2.x
-3*2TWin32_Windows 32 Bit
-6*2TAMIGA_Commodore Amiga
-6*2TATARI_Atari ST/STe/TT
-6*2TMACOS_Macintosh m68k
-6*2TLINUX_Linux-68k
-**1u<x>_undefines the symbol <x>
-**1U_unit options
-**2Uls_make static library from unit
-**2Uld_make dynamic library from unit
-**2Un_don't check the unit name
-**2Up<x>_same as -Fu<x>
-**2Us_compile a system unit
-**1v<x>_Be verbose. <x> is a combination of the following letters :
-**2*_e : Show errors (default)       d : Show debug info
-**2*_w : Show warnings               u : Show used files
-**2*_n : Show notes                  t : Show tried files
-**2*_h : Show hints                  m : Show defined macros
-**2*_i : Show general info           p : Show compiled procedures
-**2*_l : Show linenumbers            c : Show conditionals
-**2*_a : Show everything             0 : Show nothing (except errors)
-**1X_executable options
-*L2Xc_link with the c library
-**2Xs_strip all symbols from executable
-**0*_Processor specific options:
-3*1A_output format
-3*2Ao_coff file using GNU AS
-3*2Anasmcoff_coff file using Nasm
-3*2Anasmelf_elf32 (linux) file using Nasm
-3*2Anasmobj_obj file using Nasm
-3*2Amasm_obj using Masm (Mircosoft)
-3*2Atasm_obj using Tasm (Borland)
-3*1R_assembler reading style
-3*2Ratt_read AT&T style assembler
-3*2Rintel_read Intel style assembler
-3*2Rdirect_copy assembler text directly to assembler file
-3*1O<x>_optimizations
-3*2Og_generate smaller code
-3*2OG_generate faster code (default)
-3*2Or_keep certain variables in registers (still BUGGY!!!)
-3*2Ou_enable uncertain optimizations (see docs)
-3*2O1_level 1 optimizations (quick optimizations)
-3*2O2_level 2 optimizations (-O1 + slower optimizations)
-3*2O3_level 3 optimizations (same as -O2u)
-3*2Op_target processor
-3*3Op1_set target processor to 386/486
-3*3Op2_set target processor to Pentium/PentiumMMX (tm)
-3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)
-6*1A_output format
-6*2Ao_Unix o-file using GNU AS
-6*2Agas_GNU Motorola assembler
-6*2Amit_MIT Syntax (old GAS)
-6*2Amot_Standard Motorola assembler
-6*1O_optimizations
-6*2Oa_turn on the optimizer
-6*2Og_generate smaller code
-6*2OG_generate faster code (default)
-6*2Ox_optimize maximum (still BUGGY!!!)
-6*2O2_set target processor to a MC68020+
-**1*_
-**1?_shows this help
-**1h_shows this help without waiting

+ 0 - 340
compiler/optmsg.inc

@@ -1,340 +0,0 @@
-const optiontxt : array[1..05077] of char=(
-  ' ','[','o','p','t','i','o','n','s',']',' ','<','i','n','p',
-  'u','t','f','i','l','e','>',' ','[','o','p','t','i','o','n',
-  's',']',#000,'O','n','l','y',' ','o','n','e',' ','s','o','u',
-  'r','c','e',' ','f','i','l','e',' ','s','u','p','p','o','r',
-  't','e','d',#000,'D','E','F',' ','f','i','l','e',' ','c','a',
-  'n',' ','b','e',' ','c','r','e','a','t','e','d',' ','o','n',
-  'l','y',' ','f','o','r',' ','O','S','/','2',#000,'n','e','s',
-  't','e','d',' ','r','e','s','p','o','n','s','e',' ','f','i',
-  'l','e','s',' ','a','r','e',' ','n','o','t',' ','s','u','p',
-  'p','o','r','t','e','d',#000,'N','o',' ','s','o','u','r','c',
-  'e',' ','f','i','l','e',' ','n','a','m','e',' ','i','n',' ',
-  'c','o','m','m','a','n','d',' ','l','i','n','e',#000,'I','l',
-  'l','e','g','a','l',' ','p','a','r','a','m','e','t','e','r',
-  ':',' ','$','1',#000,'-','?',' ','w','r','i','t','e','s',' ',
-  'h','e','l','p',' ','p','a','g','e','s',#000,'T','o','o',' ',
-  'm','a','n','y',' ','c','o','n','f','i','g',' ','f','i','l',
-  'e','s',' ','n','e','s','t','e','d',#000,'U','n','a','b','l',
-  'e',' ','t','o',' ','o','p','e','n',' ','f','i','l','e',' ',
-  '$','1',#000,'R','e','a','d','i','n','g',' ','f','u','r','t',
-  'h','e','r',' ','o','p','t','i','o','n','s',' ','f','r','o',
-  'm',' ','$','1',#000,'T','a','r','g','e','t',' ','i','s',' ',
-  'a','l','r','e','a','d','y',' ','s','e','t',' ','t','o',':',
-  ' ','$','1',#000,'S','h','a','r','e','d',' ','l','i','b','s',
-  ' ','n','o','t',' ','s','u','p','p','o','r','t','e','d',' ',
-  'o','n',' ','D','O','S',' ','p','l','a','t','f','o','r','m',
-  ',',' ','r','e','v','e','r','t','i','n','g',' ','t','o',' ',
-  's','t','a','t','i','c',#000,'t','o','o',' ','m','a','n','y',
-  ' ','I','F','(','N',')','D','E','F','s',#000,'t','o','o',' ',
-  'm','a','n','y',' ','E','N','D','I','F','s',#000,'o','p','e',
-  'n',' ','c','o','n','d','i','t','i','o','n','a','l',' ','a',
-  't',' ','t','h','e',' ','e','n','d',' ','o','f',' ','t','h',
-  'e',' ','f','i','l','e',#000,'D','e','b','u','g',' ','i','n',
-  'f','o','r','m','a','t','i','o','n',' ','g','e','n','e','r',
-  'a','t','i','o','n',' ','i','s',' ','n','o','t',' ','s','u',
-  'p','p','o','r','t','e','d',' ','b','y',' ','t','h','i','s',
-  ' ','e','x','e','c','u','t','a','b','l','e',#000,'T','r','y',
-  ' ','r','e','c','o','m','p','i','l','i','n','g',' ','w','i',
-  't','h',' ','-','d','G','D','B',#000,'F','r','e','e',' ','P',
-  'a','s','c','a','l',' ','C','o','m','p','i','l','e','r',' ',
-  'v','e','r','s','i','o','n',' ','$','V','E','R',' ','f','o',
-  'r',' ','$','T','A','R','G','E','T',#000,'C','o','p','y','r',
-  'i','g','h','t',' ','(','c',')',' ','1','9','9','3','-','9',
-  '8',' ','b','y',' ','F','l','o','r','i','a','n',' ','K','l',
-  'a','e','m','p','f','l',#000,'F','r','e','e',' ','P','a','s',
-  'c','a','l',' ','C','o','m','p','i','l','e','r',' ','v','e',
-  'r','s','i','o','n',' ','$','V','E','R',#000,#000,'T','h','i',
-  's',' ','p','r','o','g','r','a','m',' ','c','o','m','e','s',
-  ' ','u','n','d','e','r',' ','t','h','e',' ','G','N','U',' ',
-  'G','e','n','e','r','a','l',' ','P','u','b','l','i','c',' ',
-  'L','i','c','e','n','c','e',#000,'F','o','r',' ','m','o','r',
-  'e',' ','i','n','f','o','r','m','a','t','i','o','n',' ','r',
-  'e','a','d',' ','C','O','P','Y','I','N','G',#000,#000,'R','e',
-  'p','o','r','t',' ','b','u','g','s',',','s','u','g','g','e',
-  's','t','i','o','n','s',' ','e','t','c',' ','t','o',':',#000,
-  ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
-  ' ','b','a','2','3','9','5','@','f','e','n','.','b','a','y',
-  'n','e','t','.','d','e',#000,'*','*','0','*','_','+',' ','s',
-  'w','i','t','c','h',' ','o','p','t','i','o','n',' ','o','n',
-  ',',' ','-',' ','o','f','f',#000,'*','*','1','a','_','t','h',
-  'e',' ','c','o','m','p','i','l','e','r',' ','d','o','e','s',
-  'n',#039,'t',' ','d','e','l','e','t','e',' ','t','h','e',' ',
-  'g','e','n','e','r','a','t','e','d',' ','a','s','s','e','m',
-  'b','l','e','r',' ','f','i','l','e',#000,'*','t','1','b','_',
-  'u','s','e',' ','E','M','S',#000,'*','*','1','B','+','_','b',
-  'u','i','l','d',#000,'*','*','1','C','_','c','o','d','e',' ',
-  'g','e','n','e','r','a','t','i','o','n',' ','o','p','t','i',
-  'o','n','s',#000,'*','*','2','C','a','_','n','o','t',' ','i',
-  'm','p','l','e','m','e','n','t','e','d',#000,'*','*','2','C',
-  'e','_','n','o','t',' ','i','m','p','l','e','m','e','n','t',
-  'e','d',#000,'3','*','2','C','D','_','D','y','n','a','m','i',
-  'c',' ','l','i','n','k','i','n','g',#000,'*','*','2','C','h',
-  '<','n','>','_','<','n','>',' ','b','y','t','e','s',' ','h',
-  'e','a','p',' ','(','b','e','t','w','e','e','n',' ','1','0',
-  '2','3',' ','a','n','d',' ','6','7','1','0','7','8','4','0',
-  ')',#000,'*','*','2','C','i','_','I','O','-','c','h','e','c',
-  'k','i','n','g',#000,'*','*','2','C','n','_','o','m','i','t',
-  ' ','l','i','n','k','i','n','g',' ','s','t','a','g','e',#000,
-  '*','*','2','C','o','_','c','h','e','c','k',' ','o','v','e',
-  'r','f','l','o','w',' ','o','f',' ','i','n','t','e','g','e',
-  'r',' ','o','p','e','r','a','t','i','o','n','s',#000,'*','*',
-  '2','C','r','_','r','a','n','g','e',' ','c','h','e','c','k',
-  'i','n','g',#000,'*','O','2','C','s','<','n','>','_','s','e',
-  't',' ','s','t','a','c','k',' ','s','i','z','e',' ','t','o',
-  ' ','<','n','>',#000,'*','*','2','C','t','_','s','t','a','c',
-  'k',' ','c','h','e','c','k','i','n','g',#000,'3','*','2','C',
-  'S','_','s','t','a','t','i','c',' ','l','i','n','k','i','n',
-  'g',#000,'*','*','1','d','<','x','>','_','d','e','f','i','n',
-  'e','s',' ','t','h','e',' ','s','y','m','b','o','l',' ','<',
-  'x','>',#000,'*','O','1','D','_','c','o','n','t','r','o','l',
-  's',' ','t','h','e',' ','g','e','n','e','r','a','t','i','o',
-  'n',' ','o','f',' ','D','E','F',' ','f','i','l','e',' ','(',
-  'o','n','l','y',' ','O','S','/','2',')',#000,'*','O','2','D',
-  'd','<','x','>','_','s','e','t',' ','d','e','s','c','r','i',
-  'p','t','i','o','n',' ','t','o',' ','<','x','>',#000,'*','O',
-  '2','D','o','_','g','e','n','e','r','a','t','e',' ','D','E',
-  'F',' ','f','i','l','e',#000,'*','O','2','D','w','_','P','M',
-  ' ','a','p','p','l','i','c','a','t','i','o','n',#000,'*','L',
-  '1','e','<','x','>','_','s','e','t',' ','p','a','t','h',' ',
-  't','o',' ','e','x','e','c','u','t','a','b','l','e','s',#000,
-  '*','*','1','E','_','s','a','m','e',' ','a','s',' ','-','C',
-  'n',#000,'*','*','1','g','_','g','e','n','e','r','a','t','e',
-  ' ','d','e','b','u','g','g','e','r',' ','i','n','f','o','r',
-  'm','a','t','i','o','n',#000,'*','*','1','F','_','s','e','t',
-  ' ','f','i','l','e',' ','n','a','m','e','s',' ','a','n','d',
-  ' ','p','a','t','h','s',#000,'*','*','2','F','e','<','x','>',
-  '_','r','e','d','i','r','e','c','t',' ','e','r','r','o','r',
-  ' ','o','u','t','p','u','t',' ','t','o',' ','<','x','>',#000,
-  '*','L','2','F','g','<','x','>','_','<','x','>',' ','s','e',
-  'a','r','c','h',' ','p','a','t','h',' ','f','o','r',' ','t',
-  'h','e',' ','G','N','U',' ','C',' ','l','i','b',#000,'*','L',
-  '2','F','r','<','x','>','_','<','x','>',' ','s','e','a','r',
-  'c','h',' ','p','a','t','h',' ','f','o','r',' ','t','h','e',
-  ' ','e','r','r','o','r',' ','m','e','s','s','a','g','e',' ',
-  'f','i','l','e',#000,'*','*','2','F','i','<','x','>','_','a',
-  'd','d','s',' ','<','x','>',' ','t','o',' ','i','n','c','l',
-  'u','d','e',' ','p','a','t','h',#000,'*','*','2','F','l','<',
-  'x','>','_','a','d','d','s',' ','<','x','>',' ','t','o',' ',
-  'l','i','b','r','a','r','y',' ','p','a','t','h',#000,'*','L',
-  '2','F','L','<','x','>','_','u','s','e','s',' ','<','x','>',
-  ' ','a','s',' ','d','y','n','a','m','i','c',' ','l','i','n',
-  'k','e','r',#000,'*','*','2','F','u','<','x','>','_','a','d',
-  'd','s',' ','<','x','>',' ','t','o',' ','u','n','i','t',' ',
-  'p','a','t','h',#000,'*','*','1','k','<','x','>','_','P','a',
-  's','s',' ','<','x','>',' ','t','o',' ','t','h','e',' ','l',
-  'i','n','k','e','r',#000,'*','*','1','L','_','s','e','t',' ',
-  'l','a','n','g','u','a','g','e',#000,'*','*','2','L','D','_',
-  'G','e','r','m','a','n',#000,'*','*','2','L','E','_','E','n',
-  'g','l','i','s','h',#000,'*','*','2','L','N','_','D','u','t',
-  'c','h',#000,'*','*','1','l','_','w','r','i','t','e',' ','l',
-  'o','g','o',#000,'*','*','1','i','_','i','n','f','o','r','m',
-  'a','t','i','o','n',#000,'*','*','1','n','_','d','o','n',#039,
-  't',' ','r','e','a','d',' ','t','h','e',' ','d','e','f','a',
-  'u','l','t',' ','c','o','n','f','i','g',' ','f','i','l','e',
-  #000,'*','*','1','o','<','x','>','_','c','h','a','n','g','e',
-  ' ','t','h','e',' ','n','a','m','e',' ','o','f',' ','t','h',
-  'e',' ','e','x','e','c','u','t','a','b','l','e',' ','p','r',
-  'o','d','u','c','e','d',' ','t','o',' ','<','x','>',#000,'*',
-  '*','1','p','g','_','g','e','n','e','r','a','t','e',' ','p',
-  'r','o','f','i','l','e',' ','c','o','d','e',' ','f','o','r',
-  ' ','g','p','r','o','f',#000,'*','L','1','P','_','u','s','e',
-  ' ','p','i','p','e','s',' ','i','n','s','t','e','a','d',' ',
-  'o','f',' ','c','r','e','a','t','i','n','g',' ','t','e','m',
-  'p','o','r','a','r','y',' ','a','s','s','e','m','b','l','e',
-  'r',' ','f','i','l','e','s',#000,'*','*','1','S','_','s','y',
-  'n','t','a','x',' ','o','p','t','i','o','n','s',#000,'*','*',
-  '2','S','2','_','s','w','i','t','c','h',' ','s','o','m','e',
-  ' ','D','e','l','p','h','i',' ','2',' ','e','x','t','e','n',
-  's','i','o','n',' ','o','n',#000,'*','*','2','S','c','_','s',
-  'u','p','p','o','r','t','s',' ','o','p','e','r','a','t','o',
-  'r','s',' ','l','i','k','e',' ','C',' ','(','*','=',',','+',
-  '=',',','/','=',' ','a','n','d',' ','-','=',')',#000,'*','*',
-  '2','S','d','_','c','o','m','p','i','l','e','r',' ','d','i',
-  's','p','o','s','e','s',' ','a','s','m',' ','l','i','s','t',
-  's',' ','(','u','s','e','s',' ','l','e','s','s',' ','m','e',
-  'm','o','r','y',' ','b','u','t',' ','s','l','o','w','e','r',
-  ')',#000,'*','*','2','S','e','_','c','o','m','p','i','l','e',
-  'r',' ','s','t','o','p','s',' ','a','f','t','e','r',' ','t',
-  'h','e',' ','f','i','r','s','t',' ','e','r','r','o','r',#000,
-  '*','*','2','S','g','_','a','l','l','o','w','s',' ','L','A',
-  'B','E','L',' ','a','n','d',' ','G','O','T','O',#000,'*','*',
-  '2','S','i','_','s','u','p','p','o','r','t',' ','C','+','+',
-  ' ','s','t','l','y','e','d',' ','I','N','L','I','N','E',#000,
-  '*','*','2','S','m','_','s','u','p','p','o','r','t',' ','m',
-  'a','c','r','o','s',' ','l','i','k','e',' ','C',' ','(','g',
-  'l','o','b','a','l',')',#000,'*','*','2','S','o','_','t','r',
-  'i','e','s',' ','t','o',' ','b','e',' ','T','P','/','B','P',
-  ' ','7','.','0',' ','c','o','m','p','a','t','i','b','l','e',
-  #000,'*','*','2','S','s','_','c','o','n','s','t','r','u','c',
-  't','o','r',' ','n','a','m','e',' ','m','u','s','t',' ','b',
-  'e',' ','i','n','i','t',' ','(','d','e','s','t','r','u','c',
-  't','o','r',' ','m','u','s','t',' ','b','e',' ','d','o','n',
-  'e',')',#000,'*','*','2','S','t','_','a','l','l','o','w','s',
-  ' ','s','t','a','t','i','c',' ','k','e','y','w','o','r','d',
-  ' ','i','n',' ','o','b','j','e','c','t','s',#000,'*','*','1',
-  's','_','d','o','n',#039,'t',' ','c','a','l','l',' ','a','s',
-  's','e','m','b','l','e','r',' ','a','n','d',' ','l','i','n',
-  'k','e','r',' ','(','o','n','l','y',' ','w','i','t','h',' ',
-  '-','a',')',#000,'*','*','1','T','<','x','>','_','T','a','r',
-  'g','e','t',' ','o','p','e','r','a','t','i','n','g',' ','s',
-  'y','s','t','e','m',#000,'3','*','2','T','G','O','3','2','V',
-  '1','_','v','e','r','s','i','o','n',' ','1',' ','o','f',' ',
-  'D','J',' ','D','e','l','o','r','i','e',' ','D','O','S',' ',
-  'e','x','t','e','n','d','e','r',#000,'3','*','2','T','G','O',
-  '3','2','V','2','_','v','e','r','s','i','o','n',' ','2',' ',
-  'o','f',' ','D','J',' ','D','e','l','o','r','i','e',' ','D',
-  'O','S',' ','e','x','t','e','n','d','e','r',#000,'3','*','2',
-  'T','L','I','N','U','X','_','L','i','n','u','x',#000,'3','*',
-  '2','T','O','S','2','_','O','S','/','2',' ','2','.','x',#000,
-  '3','*','2','T','W','i','n','3','2','_','W','i','n','d','o',
-  'w','s',' ','3','2',' ','B','i','t',#000,'6','*','2','T','A',
-  'M','I','G','A','_','C','o','m','m','o','d','o','r','e',' ',
-  'A','m','i','g','a',#000,'6','*','2','T','A','T','A','R','I',
-  '_','A','t','a','r','i',' ','S','T','/','S','T','e','/','T',
-  'T',#000,'6','*','2','T','M','A','C','O','S','_','M','a','c',
-  'i','n','t','o','s','h',' ','m','6','8','k',#000,'6','*','2',
-  'T','L','I','N','U','X','_','L','i','n','u','x','-','6','8',
-  'k',#000,'*','*','1','u','<','x','>','_','u','n','d','e','f',
-  'i','n','e','s',' ','t','h','e',' ','s','y','m','b','o','l',
-  ' ','<','x','>',#000,'*','*','1','U','_','u','n','i','t',' ',
-  'o','p','t','i','o','n','s',#000,'*','*','2','U','l','s','_',
-  'm','a','k','e',' ','s','t','a','t','i','c',' ','l','i','b',
-  'r','a','r','y',' ','f','r','o','m',' ','u','n','i','t',#000,
-  '*','*','2','U','l','d','_','m','a','k','e',' ','d','y','n',
-  'a','m','i','c',' ','l','i','b','r','a','r','y',' ','f','r',
-  'o','m',' ','u','n','i','t',#000,'*','*','2','U','n','_','d',
-  'o','n',#039,'t',' ','c','h','e','c','k',' ','t','h','e',' ',
-  'u','n','i','t',' ','n','a','m','e',#000,'*','*','2','U','p',
-  '<','x','>','_','s','a','m','e',' ','a','s',' ','-','F','u',
-  '<','x','>',#000,'*','*','2','U','s','_','c','o','m','p','i',
-  'l','e',' ','a',' ','s','y','s','t','e','m',' ','u','n','i',
-  't',#000,'*','*','1','v','<','x','>','_','B','e',' ','v','e',
-  'r','b','o','s','e','.',' ','<','x','>',' ','i','s',' ','a',
-  ' ','c','o','m','b','i','n','a','t','i','o','n',' ','o','f',
-  ' ','t','h','e',' ','f','o','l','l','o','w','i','n','g',' ',
-  'l','e','t','t','e','r','s',' ',':',#000,'*','*','2','*','_',
-  'e',' ',':',' ','S','h','o','w',' ','e','r','r','o','r','s',
-  ' ','(','d','e','f','a','u','l','t',')',' ',' ',' ',' ',' ',
-  ' ',' ','d',' ',':',' ','S','h','o','w',' ','d','e','b','u',
-  'g',' ','i','n','f','o',#000,'*','*','2','*','_','w',' ',':',
-  ' ','S','h','o','w',' ','w','a','r','n','i','n','g','s',' ',
-  ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','u',
-  ' ',':',' ','S','h','o','w',' ','u','s','e','d',' ','f','i',
-  'l','e','s',#000,'*','*','2','*','_','n',' ',':',' ','S','h',
-  'o','w',' ','n','o','t','e','s',' ',' ',' ',' ',' ',' ',' ',
-  ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','t',' ',':',' ',
-  'S','h','o','w',' ','t','r','i','e','d',' ','f','i','l','e',
-  's',#000,'*','*','2','*','_','h',' ',':',' ','S','h','o','w',
-  ' ','h','i','n','t','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',
-  ' ',' ',' ',' ',' ',' ',' ',' ',' ','m',' ',':',' ','S','h',
-  'o','w',' ','d','e','f','i','n','e','d',' ','m','a','c','r',
-  'o','s',#000,'*','*','2','*','_','i',' ',':',' ','S','h','o',
-  'w',' ','g','e','n','e','r','a','l',' ','i','n','f','o',' ',
-  ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','p',' ',':',' ','S',
-  'h','o','w',' ','c','o','m','p','i','l','e','d',' ','p','r',
-  'o','c','e','d','u','r','e','s',#000,'*','*','2','*','_','l',
-  ' ',':',' ','S','h','o','w',' ','l','i','n','e','n','u','m',
-  'b','e','r','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
-  ' ','c',' ',':',' ','S','h','o','w',' ','c','o','n','d','i',
-  't','i','o','n','a','l','s',#000,'*','*','2','*','_','a',' ',
-  ':',' ','S','h','o','w',' ','e','v','e','r','y','t','h','i',
-  'n','g',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
-  '0',' ',':',' ','S','h','o','w',' ','n','o','t','h','i','n',
-  'g',' ','(','e','x','c','e','p','t',' ','e','r','r','o','r',
-  's',')',#000,'*','*','1','X','_','e','x','e','c','u','t','a',
-  'b','l','e',' ','o','p','t','i','o','n','s',#000,'*','L','2',
-  'X','c','_','l','i','n','k',' ','w','i','t','h',' ','t','h',
-  'e',' ','c',' ','l','i','b','r','a','r','y',#000,'*','*','2',
-  'X','s','_','s','t','r','i','p',' ','a','l','l',' ','s','y',
-  'm','b','o','l','s',' ','f','r','o','m',' ','e','x','e','c',
-  'u','t','a','b','l','e',#000,'*','*','0','*','_','P','r','o',
-  'c','e','s','s','o','r',' ','s','p','e','c','i','f','i','c',
-  ' ','o','p','t','i','o','n','s',':',#000,'3','*','1','A','_',
-  'o','u','t','p','u','t',' ','f','o','r','m','a','t',#000,'3',
-  '*','2','A','o','_','c','o','f','f',' ','f','i','l','e',' ',
-  'u','s','i','n','g',' ','G','N','U',' ','A','S',#000,'3','*',
-  '2','A','n','a','s','m','c','o','f','f','_','c','o','f','f',
-  ' ','f','i','l','e',' ','u','s','i','n','g',' ','N','a','s',
-  'm',#000,'3','*','2','A','n','a','s','m','e','l','f','_','e',
-  'l','f','3','2',' ','(','l','i','n','u','x',')',' ','f','i',
-  'l','e',' ','u','s','i','n','g',' ','N','a','s','m',#000,'3',
-  '*','2','A','n','a','s','m','o','b','j','_','o','b','j',' ',
-  'f','i','l','e',' ','u','s','i','n','g',' ','N','a','s','m',
-  #000,'3','*','2','A','m','a','s','m','_','o','b','j',' ','u',
-  's','i','n','g',' ','M','a','s','m',' ','(','M','i','r','c',
-  'o','s','o','f','t',')',#000,'3','*','2','A','t','a','s','m',
-  '_','o','b','j',' ','u','s','i','n','g',' ','T','a','s','m',
-  ' ','(','B','o','r','l','a','n','d',')',#000,'3','*','1','R',
-  '_','a','s','s','e','m','b','l','e','r',' ','r','e','a','d',
-  'i','n','g',' ','s','t','y','l','e',#000,'3','*','2','R','a',
-  't','t','_','r','e','a','d',' ','A','T','&','T',' ','s','t',
-  'y','l','e',' ','a','s','s','e','m','b','l','e','r',#000,'3',
-  '*','2','R','i','n','t','e','l','_','r','e','a','d',' ','I',
-  'n','t','e','l',' ','s','t','y','l','e',' ','a','s','s','e',
-  'm','b','l','e','r',#000,'3','*','2','R','d','i','r','e','c',
-  't','_','c','o','p','y',' ','a','s','s','e','m','b','l','e',
-  'r',' ','t','e','x','t',' ','d','i','r','e','c','t','l','y',
-  ' ','t','o',' ','a','s','s','e','m','b','l','e','r',' ','f',
-  'i','l','e',#000,'3','*','1','O','<','x','>','_','o','p','t',
-  'i','m','i','z','a','t','i','o','n','s',#000,'3','*','2','O',
-  'g','_','g','e','n','e','r','a','t','e',' ','s','m','a','l',
-  'l','e','r',' ','c','o','d','e',#000,'3','*','2','O','G','_',
-  'g','e','n','e','r','a','t','e',' ','f','a','s','t','e','r',
-  ' ','c','o','d','e',' ','(','d','e','f','a','u','l','t',')',
-  #000,'3','*','2','O','r','_','k','e','e','p',' ','c','e','r',
-  't','a','i','n',' ','v','a','r','i','a','b','l','e','s',' ',
-  'i','n',' ','r','e','g','i','s','t','e','r','s',' ','(','s',
-  't','i','l','l',' ','B','U','G','G','Y','!','!','!',')',#000,
-  '3','*','2','O','u','_','e','n','a','b','l','e',' ','u','n',
-  'c','e','r','t','a','i','n',' ','o','p','t','i','m','i','z',
-  'a','t','i','o','n','s',' ','(','s','e','e',' ','d','o','c',
-  's',')',#000,'3','*','2','O','1','_','l','e','v','e','l',' ',
-  '1',' ','o','p','t','i','m','i','z','a','t','i','o','n','s',
-  ' ','(','q','u','i','c','k',' ','o','p','t','i','m','i','z',
-  'a','t','i','o','n','s',')',#000,'3','*','2','O','2','_','l',
-  'e','v','e','l',' ','2',' ','o','p','t','i','m','i','z','a',
-  't','i','o','n','s',' ','(','-','O','1',' ','+',' ','s','l',
-  'o','w','e','r',' ','o','p','t','i','m','i','z','a','t','i',
-  'o','n','s',')',#000,'3','*','2','O','3','_','l','e','v','e',
-  'l',' ','3',' ','o','p','t','i','m','i','z','a','t','i','o',
-  'n','s',' ','(','s','a','m','e',' ','a','s',' ','-','O','2',
-  'u',')',#000,'3','*','2','O','p','_','t','a','r','g','e','t',
-  ' ','p','r','o','c','e','s','s','o','r',#000,'3','*','3','O',
-  'p','1','_','s','e','t',' ','t','a','r','g','e','t',' ','p',
-  'r','o','c','e','s','s','o','r',' ','t','o',' ','3','8','6',
-  '/','4','8','6',#000,'3','*','3','O','p','2','_','s','e','t',
-  ' ','t','a','r','g','e','t',' ','p','r','o','c','e','s','s',
-  'o','r',' ','t','o',' ','P','e','n','t','i','u','m','/','P',
-  'e','n','t','i','u','m','M','M','X',' ','(','t','m',')',#000,
-  '3','*','3','O','p','3','_','s','e','t',' ','t','a','r','g',
-  'e','t',' ','p','r','o','c','e','s','s','o','r',' ','t','o',
-  ' ','P','P','r','o','/','P','I','I','/','c','6','x','8','6',
-  '/','K','6',' ','(','t','m',')',#000,'6','*','1','A','_','o',
-  'u','t','p','u','t',' ','f','o','r','m','a','t',#000,'6','*',
-  '2','A','o','_','U','n','i','x',' ','o','-','f','i','l','e',
-  ' ','u','s','i','n','g',' ','G','N','U',' ','A','S',#000,'6',
-  '*','2','A','g','a','s','_','G','N','U',' ','M','o','t','o',
-  'r','o','l','a',' ','a','s','s','e','m','b','l','e','r',#000,
-  '6','*','2','A','m','i','t','_','M','I','T',' ','S','y','n',
-  't','a','x',' ','(','o','l','d',' ','G','A','S',')',#000,'6',
-  '*','2','A','m','o','t','_','S','t','a','n','d','a','r','d',
-  ' ','M','o','t','o','r','o','l','a',' ','a','s','s','e','m',
-  'b','l','e','r',#000,'6','*','1','O','_','o','p','t','i','m',
-  'i','z','a','t','i','o','n','s',#000,'6','*','2','O','a','_',
-  't','u','r','n',' ','o','n',' ','t','h','e',' ','o','p','t',
-  'i','m','i','z','e','r',#000,'6','*','2','O','g','_','g','e',
-  'n','e','r','a','t','e',' ','s','m','a','l','l','e','r',' ',
-  'c','o','d','e',#000,'6','*','2','O','G','_','g','e','n','e',
-  'r','a','t','e',' ','f','a','s','t','e','r',' ','c','o','d',
-  'e',' ','(','d','e','f','a','u','l','t',')',#000,'6','*','2',
-  'O','x','_','o','p','t','i','m','i','z','e',' ','m','a','x',
-  'i','m','u','m',' ','(','s','t','i','l','l',' ','B','U','G',
-  'G','Y','!','!','!',')',#000,'6','*','2','O','2','_','s','e',
-  't',' ','t','a','r','g','e','t',' ','p','r','o','c','e','s',
-  's','o','r',' ','t','o',' ','a',' ','M','C','6','8','0','2',
-  '0','+',#000,'*','*','1','*','_',#000,'*','*','1','?','_','s',
-  'h','o','w','s',' ','t','h','i','s',' ','h','e','l','p',#000,
-  '*','*','1','h','_','s','h','o','w','s',' ','t','h','i','s',
-  ' ','h','e','l','p',' ','w','i','t','h','o','u','t',' ','w',
-  'a','i','t','i','n','g',#000);

+ 35 - 17
compiler/verbose.pas

@@ -23,17 +23,20 @@
 unit verbose;
 interface
 
-uses messages;
+uses
+  messages;
 
-{$ifndef TP}
-  {$ifndef EXTERN_MSG}
-    {$i msgtxt.inc}
-  {$endif}
+{$ifdef TP}
+  {$define EXTERN_MSG}
 {$endif}
 
+{$ifndef EXTERN_MSG}
+  {$i msgtxt.inc}
+{$endif}
 
 {$i msgidx.inc}
 
+
 Const
 { <$10000 will show file and line }
   V_Fatal       = $0;
@@ -56,17 +59,18 @@ Const
   V_Default     = V_Fatal + V_Error + V_Normal;
 
 var
-  msg         : pmessage;
+  msg : pmessage;
 
 procedure SetRedirectFile(const fn:string);
 function  SetVerbosity(const s:string):boolean;
 
 procedure LoadMsgFile(const fn:string);
+procedure UpdateReplacement(var s:string);
 
 procedure Stop;
 procedure ShowStatus;
 procedure Internalerror(i:longint);
-procedure Comment(l:longint;const s:string);
+procedure Comment(l:longint;s:string);
 procedure Message(w:tmsgconst);
 procedure Message1(w:tmsgconst;const s1:string);
 procedure Message2(w:tmsgconst;const s1,s2:string);
@@ -209,12 +213,20 @@ end;
 
 procedure LoadMsgFile(const fn:string);
 begin
-  if not (msg=nil) then
+  if not(msg=nil) then
    dispose(msg,Done);
   msg:=new(pmessage,InitExtern(fn,ord(endmsgconst)));
 end;
 
 
+procedure UpdateReplacement(var s:string);
+begin
+  Replace(s,'$FPCVER',version_string);
+  Replace(s,'$FPCDATE',date_string);
+  Replace(s,'$FPCTARGET',target_string);
+end;
+
+
 var
   lastfileidx,
   lastmoduleidx : longint;
@@ -268,7 +280,7 @@ begin
 end;
 
 
-procedure Comment(l:longint;const s:string);
+procedure Comment(l:longint;s:string);
 var
   dostop : boolean;
 begin
@@ -277,6 +289,8 @@ begin
    inc(status.errorcount);
 { Create status info }
   UpdateStatus;
+{ Fix replacements }
+  UpdateReplacement(s);
 { show comment }
   if do_comment(l,s) or dostop or (status.errorcount>=status.maxerrorcount) then
    stop
@@ -294,7 +308,7 @@ begin
 {Parse options}
   idx:=pos('_',s);
   if idx=0 then
-   v:=V_Default
+   v:=V_Normal
   else
    if (idx in [1..5]) then
     begin
@@ -328,10 +342,10 @@ begin
        end;
     end;
   Delete(s,1,idx);
-  Replace(s,'$VER',version_string);
-  Replace(s,'$TARGET',target_string);
 { fix status }
   UpdateStatus;
+{ Fix replacements }
+  UpdateReplacement(s);
 { show comment }
   if do_comment(v,s) or dostop or (status.errorcount>=status.maxerrorcount) then
    stop;
@@ -371,16 +385,20 @@ begin
 end;
 
 begin
-{$ifndef TP}
-  {$ifndef EXTERN_MSG}
-    msg:=new(pmessage,Init(@msgtxt,ord(endmsgconst)));
-  {$endif}
+{$ifndef EXTERN_MSG}
+  msg:=new(pmessage,Init(@msgtxt,ord(endmsgconst)));
+{$else}
+  LoadMsgFile(exepath+'errore.msg');
 {$endif}
 end.
 
 {
   $Log$
-  Revision 1.17  1998-08-19 14:57:52  peter
+  Revision 1.18  1998-08-29 13:52:40  peter
+    + new messagefile
+    * merged optione.msg into errore.msg
+
+  Revision 1.17  1998/08/19 14:57:52  peter
     * small fix for aktfilepos
 
   Revision 1.16  1998/08/18 14:17:15  pierre