nimgrep compiles again

This commit is contained in:
Araq 2014-09-07 02:52:15 +02:00
commit ae53d1ecc8
2 changed files with 11 additions and 8 deletions

View file

@ -98,6 +98,9 @@ proc handleCmdLine() =
processCmdLine(passCmd2, "")
mainCommand()
when compileOption("gc", "v2") or compileOption("gc", "refc"):
GC_disableMarkAndSweep()
condsyms.initDefines()
defineSymbol "nimfix"
handleCmdline()