compilation cache: slurped files are a dependency too

This commit is contained in:
Araq 2011-10-30 01:02:15 +02:00
commit 78f37b2336
4 changed files with 12 additions and 2 deletions

View file

@ -578,9 +578,9 @@ proc myOpen(module: PSym, filename: string): PPassContext =
result = w
proc myClose(c: PPassContext, n: PNode): PNode =
result = process(c, n)
var w = PRodWriter(c)
writeRod(w)
result = n
idgen.saveMaxIds(options.projectPath / options.projectName)
proc rodwritePass(): TPass =