summaryrefslogtreecommitdiff
path: root/compiler/msg/errord.msg
diff options
context:
space:
mode:
authorpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-12-31 02:31:51 +0000
committerpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-12-31 02:31:51 +0000
commit89073a60bbaa6afc3d805d284ccf898f3ebc28f3 (patch)
treeb4b98adc147b737f0c6e677214216bd5a9c2f5a0 /compiler/msg/errord.msg
parenta685f21c033dc94a6422dbf5be1f6d54c8f09e66 (diff)
downloadfpc-89073a60bbaa6afc3d805d284ccf898f3ebc28f3.tar.gz
compiler: don't allow generic object types (interfaces,dispinterfaces,objclasses,...) to have type,var,const sections if regular object types don't have them. currently only objects, classes and records are allowed to have nested type,var,const sections.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@16669 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/msg/errord.msg')
-rw-r--r--compiler/msg/errord.msg4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/msg/errord.msg b/compiler/msg/errord.msg
index 243672313f..e72f8f9efc 100644
--- a/compiler/msg/errord.msg
+++ b/compiler/msg/errord.msg
@@ -1117,9 +1117,9 @@ parser_e_packed_element_no_loop=03223_E_Bit packed Array-Elemente und Record-Fel
% (or as \var{packed} in any mode with \var{\{\$bitpacking on\}}), it will
% be packed at the bit level. For performance reasons, they cannot be
% used as loop variables.
-parser_e_type_var_const_only_in_generics_and_classes=03224_E_VAR, TYPE und CONST sind nur innerhalb "generics" und Klassen erlaubt
+parser_e_type_var_const_only_in_records_and_classes=03224_E_VAR, TYPE und CONST sind nur innerhalb records, objects und Klassen erlaubt
% The usage of VAR, TYPE and CONST to declare new types inside an object is allowed only inside
-% generics and classes.
+% records, objects and classes.
parser_e_cant_create_generics_of_this_type=03225_E_Dieser Typ kann nicht "generic" sein
% Only Classes, Objects, Interfaces and Records are allowed to be used as generic.
parser_w_no_lineinfo_use_switch=03226_W_Die LINEINFO Unit nicht manuell laden. Verwende statt dessen den Compilerschalter -gl