diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-05 13:30:27 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-05 13:30:27 +0000 |
commit | 23d9e5717e38ca8837e303b71063666abb053642 (patch) | |
tree | ce083ce253697df96bc1e2f5bceeff754aecfc3f /src/compiler/scala/tools/nsc/Main.scala | |
parent | c80f66656628ade91a8c325b62e36d3beada7ed5 (diff) | |
download | scala-23d9e5717e38ca8837e303b71063666abb053642.tar.gz scala-23d9e5717e38ca8837e303b71063666abb053642.tar.bz2 scala-23d9e5717e38ca8837e303b71063666abb053642.zip |
Main accepts, but ignores -Ydoc.
ScalaDoc now "ignores" -Ydoc, but must still be given it as an argument
so that the Settings class makes the doc dependent command-line options
available.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Main.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Main.scala | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/compiler/scala/tools/nsc/Main.scala b/src/compiler/scala/tools/nsc/Main.scala index 9dbbda50b4..a3ff3b7fa3 100644 --- a/src/compiler/scala/tools/nsc/Main.scala +++ b/src/compiler/scala/tools/nsc/Main.scala @@ -1,5 +1,5 @@ /* NSC -- new Scala compiler - * Copyright 2005-2007 LAMP/EPFL + * Copyright 2005-2008 LAMP/EPFL * @author Martin Odersky */ // $Id$ @@ -8,11 +8,9 @@ package scala.tools.nsc import java.io.File -import scala.tools.nsc.doc.DefaultDocDriver import scala.tools.nsc.reporters.{Reporter, ConsoleReporter} import scala.tools.nsc.util.FakePos //{Position} - /** The main class for NSC, a compiler for the programming * language Scala. */ @@ -84,13 +82,6 @@ object Main extends AnyRef with EvalLoop { } else { val run = new compiler.Run run compile command.files - if (command.settings.doc.value) { - val generator = new DefaultDocDriver { - lazy val global: compiler.type = compiler - def settings = command.settings - } - generator.process(command.settings, run.units) - } reporter.printSummary() } } |