mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 11:48:04 +02:00
* trtti_attribute_list.bind already checks whether the dangling attribute list is assigned or not
git-svn-id: trunk@42395 -
This commit is contained in:
parent
ced3885dbb
commit
402728239f
@ -1050,10 +1050,7 @@ implementation
|
||||
|
||||
{ If there are attribute-properties available, bind them to
|
||||
this object }
|
||||
if assigned(rtti_attrs_def) then
|
||||
begin
|
||||
trtti_attribute_list.bind(rtti_attrs_def,tobjectdef(hdef).rtti_attribute_list);
|
||||
end;
|
||||
trtti_attribute_list.bind(rtti_attrs_def,tobjectdef(hdef).rtti_attribute_list);
|
||||
|
||||
{ In case of an objcclass, verify that all methods have a message
|
||||
name set. We only check this now, because message names can be set
|
||||
|
@ -214,10 +214,7 @@ implementation
|
||||
Message(parser_e_enumerator_identifier_required);
|
||||
consume(_SEMICOLON);
|
||||
end;
|
||||
if assigned(rtti_attrs_def) then
|
||||
begin
|
||||
trtti_attribute_list.bind(rtti_attrs_def,p.rtti_attribute_list);
|
||||
end;
|
||||
trtti_attribute_list.bind(rtti_attrs_def,p.rtti_attribute_list);
|
||||
|
||||
{ hint directives, these can be separated by semicolons here,
|
||||
that needs to be handled here with a loop (PFV) }
|
||||
|
Loading…
Reference in New Issue
Block a user