Просмотр исходного кода

* small update for <lf>
* errorn.msg updated

peter 27 лет назад
Родитель
Сommit
9638b55bdf
2 измененных файлов с 36 добавлено и 32 удалено
  1. 7 2
      compiler/errorn.msg
  2. 29 30
      compiler/msgtxt.inc

+ 7 - 2
compiler/errorn.msg

@@ -153,7 +153,7 @@ parser_e_no_procedure_to_access_property=E_Er is geen lid om de eigenschap te be
 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_w_overloaded_are_not_both_virtual=W_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.
@@ -214,6 +214,10 @@ parser_f_assembler_reader_not_supported=F_Geselecteerde assembler lezer wordt ni
 parser_e_proc_dir_conflict=E_Procedure directive $1 maakt conflicten met andere directives
 parser_e_call_convention_dont_match_forward=E_Calling convention doesn't match forward
 parser_e_register_calling_not_supported=E_Register calling (fastcall) wordt niet ondersteund
+parser_e_property_cant_have_a_default_value=E_Eigenschap kan geen standaard waarde hebben
+parser_e_property_default_value_must_const=E_De standaard waarde van een eigenschap moet een constant zijn
+parser_e_cant_publish_that=E_Symbool kan niet worden gepubliceerd, alleen mogelijk voor een klasse
+parser_e_cant_publish_that_property=E_Deze soort eigenschap kan niet worden gepubliceerd
 
 #
 # Type Checking
@@ -235,6 +239,7 @@ type_e_strict_var_string_violation=E_String types stemmen niet overeen, wegens $
 type_e_succ_and_pred_enums_with_assign_not_possible=E_SUCC of PRED op enumeratie types met toekenningen zijn niet mogelijk
 type_e_cant_read_write_type=E_Kan niet lezen of schrijven met dit type variabele
 type_e_typeconflict_in_set=E_Type conflict tussen set elementen.
+type_e_integer_or_real_expr_expected=E_Integer or real expressie verwacht
 
 #
 # Symtable
@@ -266,7 +271,7 @@ 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
-sym_o_param_list=O_Declaratie gevonden: $1
+sym_b_param_list=B_Declaratie gevonden: $1
 
 #
 # Codegenerator

+ 29 - 30
compiler/msgtxt.inc

@@ -102,7 +102,7 @@ const msgtxt : array[0..00087,1..240] of char=(+
   '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_overloaded of virtual method must be virtual: $1',#000+
+  'W_overloaded of virtual method must be virtual: $1',#000+
   'E_overloaded methods which are virtual must have the same return type:'+
   ' $1'#000+
   'E_EXPORT declared functions can'#039't be nested'#000+
@@ -457,29 +457,29 @@ const msgtxt : array[0..00087,1..240] of char=(+
   'Free Pascal Compiler version $FPCVER [$FPCDATE] for $FPCTARGET'#000+
   'Copyright (c) 1993-98 by Florian Klae','mpfl'#000+
   'Free Pascal Compiler version $FPCVER'#000+
-  '<lf>'#000+
+  #000+
   'Compiler Date  : $FPCDATE'#000+
   'Compiler Target: $FPCTARGET'#000+
-  '<lf>'#000+
+  #000+
   'This program comes under the GNU General Public Licence'#000+
   'For more information read COPYING.FPC'#000+
-  '<lf>'#000+
+  #000+
   'Report bugs,suggestions etc to:'#000+
-  '   ','             [email protected]'#000+
+  '               ',' [email protected]'#000+
   '**0*_+ switch option on, - off'#000+
   '**1a_the compiler doesn'#039't delete the generated assembler file'#000+
   '**2al_list sourcecode lines in assembler file  (still BETA !!)'#000+
   '*t1b_use EMS'#000+
   '**1B_build all modules'#000+
-  '**','1C_code generation options'#000+
+  '**1C_code gene','ration options'#000+
   '3*2CD_create dynamic 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 t','o <n>'#000+
-  '**2Ct_stack checking'#000+
+  '**2Cs<n>_set stack size to <n>'#000+
+  '**2Ct_','stack checking'#000+
   '3*2CS_create static library'#000+
   '3*2Cx_use smartlinking'#000+
   '**1d<x>_defines the symbol <x>'#000+
@@ -488,14 +488,14 @@ const msgtxt : array[0..00087,1..240] of char=(+
   '*O2Dw_PM application'#000+
   '**1e<x>_set path to executable'#000+
   '**1E_same as -Cn'#000+
-  '**1F_','set file names and paths'#000+
+  '**1F_set file nam','es and paths'#000+
   '**2Fe<x>_redirect error 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+
+  '**2Fr<x>_load error message fil','e <x>'#000+
   '**2Fu<x>_adds <x> to unit path'#000+
   '*g1g_generate debugger information'#000+
   '*g2gg_use gsym'#000+
@@ -504,31 +504,31 @@ const msgtxt : array[0..00087,1..240] of char=(+
   '**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 co','nfig file'#000+
-  '**1o<x>_change the name of the executable produced to <x>'#000+
+  '**1n_don'#039't read the default config file'#000+
+  '**','1o<x>_change the name of the executable 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_suppor','ts operators like C (*=,+=,/= and -=)'#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+
+  '**2Sm_support macros like C (global)'#000+
+  '**2So_tries',' to be TP/BP 7.0 compatible'#000+
   '**2Sp_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+
+  '**1s_don'#039't call a','ssembler 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*2TAMI','GA_Commodore Amiga'#000+
+  '6*2TAMIGA_Commodore',' Amiga'#000+
   '6*2TATARI_Atari ST/STe/TT'#000+
   '6*2TMACOS_Macintosh m68k'#000+
   '6*2TLINUX_Linux-68k'#000+
@@ -537,47 +537,46 @@ const msgtxt : array[0..00087,1..240] of char=(+
   '**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 verb','ose. <x> is a combination of the following letters :'#000+
+  '**1v<x>_Be verbose. <x> is ','a combination of the following letters :'#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 h','ints                  m : Show defined macros'#000+
+  '**2*_h : Show hints        ','          m : Show defined macros'#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+
-  '**2*_b : Show all procedure'#000+
+  '**2*_a : Show everything             0 : Show nothing (except errors)'#000+
+  '**2*_b : Sh','ow all procedure'#000+
   '**2*_    declarations if an error'#000+
   '**2*_    occurs'#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+
+  '**2XS_link with st','atic libraries (defines FPC_LINK_STATIC)'#000+
   '**0*_Processor specific options:'#000+
   '3*1A_output format'#000+
   '3*2Ao_coff file using GNU AS'#000+
   '3*2Anasmcoff_coff file using Nasm'#000+
   '3*2Anasmelf_elf32 (linux) file using Nasm'#000+
-  '3*2Anasmobj_obj file using Nas','m'#000+
-  '3*2Amasm_obj using Masm (Mircosoft)'#000+
+  '3*2Anasmobj_obj file using Nasm'#000+
+  '3*2Amasm_o','bj using Masm (Mircosoft)'#000+
   '3*2Atasm_obj using Tasm (Borland)'#000+
   '3*1R_assembler reading style'#000+
   '3*2Ratt_read AT&T style assembler'#000+
   '3*2Rintel_read Intel style assembler'#000+
   '3*2Rdirect_copy assembler text directly to assembler file'#000+
-  '3*1O<x>_op','timizations'#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 (still 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*2O2_level 2 opti','mizations (-O1 + slower optimizations)'#000+
   '3*2O3_level 3 optimizations (same as -O2u)'#000+
   '3*2Op_target processor'#000+
   '3*3Op1_set target processor to 386/486'#000+
   '3*3Op2_set target processor to Pentium/PentiumMMX (tm)'#000+
-  '3*3Op3_set target processor t','o PPro/PII/c6x86/K6 (tm)'#000+
+  '3*3Op3_set target processor to PPro/PII/c','6x86/K6 (tm)'#000+
   '6*1A_output format'#000+
   '6*2Ao_Unix o-file using GNU AS'#000+
   '6*2Agas_GNU Motorola assembler'#000+
@@ -585,8 +584,8 @@ const msgtxt : array[0..00087,1..240] of char=(+
   '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*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+