<p>Am 17.05.2012 23:32 schrieb "Joost van der Sluis" <<a href="mailto:joost@cnoc.nl">joost@cnoc.nl</a>>:<br>
><br>
> Hi all,<br>
><br>
> I'm trying to implement extended RTTI property attributes as supported<br>
> by recent Delphi versions. Extending the parser to allow the property<br>
> attributes syntax was easy.</p>
<p>Nice :D</p>
<p>It might be good to write tests that can be added to $fpcdir/tests/test, which helped me a lot with class helpers. :)</p>
<p>> Now I'm wondering if I should make this new field of Tpropertysym a TDef<br>
> or a TSym(table). I know that Tsym can store itself to a ppu while a<br>
> TDef does not. But There was something else, too. But I don't remember<br>
> exactly.</p>
<p>As attributes can be added to more than just properties it might be better to add this more up in the hierarchy (e.g. tdef, like the generic stuff)</p>
<p>> I once figured this out for another compiler-patch but I forgot it.</p>
<p>Do you work in a branch? If not it might be better to change this as attributes are a bigger change and this way they can be merged/integrated more easily than with a patch.</p>
<p>Regards,<br>
Sven</p>