On Sat, 28 Jan 2012, Hans-Peter Diettrich wrote:
Michael Van Canneyt schrieb:
On Sat, 28 Jan 2012, Hans-Peter Diettrich wrote:
I still don't understand this requirement, and how documentation writers
should establish the correct order :-(
Simple.
The same order as the compiler uses: it is 100% determined by the uses
clause.
How is that related to documentation and the order of input files?
If you refer to a type in a unit, then the parsing engine tries to resolve
the type.
If it finds the type, then it creates a straight reference to this type.
if it does not, it creates a TPasUnresolvedTypeRef instance.
What's the question for this answer? ;-)
The question you asked:
"How is that related to documentation and the order of input files?"
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel