Am 17.05.2012 23:32 schrieb "Joost van der Sluis" <jo...@cnoc.nl>:
>
> Hi all,
>
> I'm trying to implement extended RTTI property attributes as supported
> by recent Delphi versions. Extending the parser to allow the property
> attributes syntax was easy.

Nice :D

It might be good to write tests that can be added to $fpcdir/tests/test,
which helped me a lot with class helpers. :)

> Now I'm wondering if I should make this new field of Tpropertysym a TDef
> or a TSym(table). I know that Tsym can store itself to a ppu while a
> TDef does not. But There was something else, too. But I don't remember
> exactly.

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)

> I once figured this out for another compiler-patch but I forgot it.

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.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to