diff options
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 58833f60c..0bb057df5 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -164,12 +164,6 @@ proc commandEval(exp: string) = var echoExp = "echo \"eval\\t\", " & "repr(" & exp & ")" evalNim(echoExp.parseString, makeStdinModule()) -proc commandPrettyOld = - var projectFile = addFileExt(mainCommandArg(), NimExt) - var module = parseFile(projectFile.fileInfoIdx) - if module != nil: - renderModule(module, getOutFile(mainCommandArg(), "pretty." & NimExt)) - proc commandPretty = msgs.gErrorMax = high(int) # do not stop after first error semanticPasses() |