On 11/28/2012 01:32 PM, Jacob Carlborg wrote:
On 2012-11-28 20:23, 1100110 wrote:
pragma(build, "rdmd -Jviews -Isrc/debug --version=debug");
How would the compiler handle flags which add new import paths? Should
it first scan all source files after this special pragma(build). Then
rescan the source files again to see if any new pragma(build) was found.
Then, yet again, it need to rescan the files for the regular compile phase.
I'll obviously need a little help defining the semantics. =P
I can see this going 3 different ways, with different levels of complexity.
Halt and run this cmd(Gor wants. I can sense his longing from here..)