Florian Klaempfl wrote:
5. What's the best way to save the namespace in the tobjectdef class?
As a string containing 'FirstPart.SecondPart'? Or as C++ mangled
string '9FirstPart10SecondPart'? Or something else (e.g. a list
containing the parts)?
I've decided to save the mangled name in the objectdef. It's mangled
directly when parsing it.

I think it's better to store just the name space string, it looks more
flexbile to me.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Don't UNITS in Pascal intended to separate NAMESPACES?
But unfortunately this prevents nested namespaces.

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

Reply via email to