bugfixes for .rod files and visual C++

This commit is contained in:
Araq 2011-12-03 17:21:35 +01:00
commit c8d270268a
13 changed files with 135 additions and 130 deletions

View file

@ -73,7 +73,7 @@ proc CompileModule(filename: string, flags: TSymFlags): PSym =
var f = addFileExt(filename, nimExt)
result = newModule(filename)
result.flags = result.flags + flags
if gCmd in {cmdCompileToC, cmdCompileToCpp}:
if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCheck, cmdIdeTools}:
rd = handleSymbolFile(result, f)
if result.id < 0:
InternalError("handleSymbolFile should have set the module\'s ID")