On Tue, 13 Oct 2009, Szak�ts Viktor wrote:
>> Please also remember that Harbour supports also #pragma __[c]streaminclude
>> which should also be detected and in the future may support some other
>> extensions like using compiler switches in #if expressions, i.e.:
>> #if enabled( -kh )
>> #include "hbext_rules.ch"
>> #endif
> I didn't know we have such feature :) In this case full
> compilation is indeed unavoidable.
support for enabled() does not exist yet and I'm not sure it will be added
in the future anyhow do not forget about Clipper compatible features and
files included by compiler not PP, i.e. try this code:
proc main()
do file1
_procReq_( "file2" + ".def" )
return
In Clipper and Harbour above code tries to open "file1.prg" and
"file2.def" and in both cases it's done by compiler after analyzing
existing code not by PP.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour