summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2008-02-25 20:06:42 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2008-02-25 20:06:42 +0000
commit1bfbf4d63c24c429ad58332f67d661c004313268 (patch)
treed4d42f3c463095165053f3a94f63178c71f940a1 /src/compiler
parente5029f82663f71246393a7cad9318e5d6d44a550 (diff)
downloadscala-1bfbf4d63c24c429ad58332f67d661c004313268.tar.gz
scala-1bfbf4d63c24c429ad58332f67d661c004313268.tar.bz2
scala-1bfbf4d63c24c429ad58332f67d661c004313268.zip
Removed obsolete "usepredef" from Scalac ant task.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/ant/Scalac.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/ant/Scalac.scala b/src/compiler/scala/tools/ant/Scalac.scala
index e69e401455..34afad934f 100644
--- a/src/compiler/scala/tools/ant/Scalac.scala
+++ b/src/compiler/scala/tools/ant/Scalac.scala
@@ -44,7 +44,6 @@ import scala.tools.nsc.reporters.{Reporter, ConsoleReporter}
* <li>force,</li>
* <li>logging,</li>
* <li>logphase,</li>
- * <li>usepredefs,</li>
* <li>debuginfo,</li>
* <li>addparams,</li>
* <li>scalacdebugging,</li>
@@ -133,8 +132,6 @@ class Scalac extends MatchingTask {
/** Which compilation phases should be logged during compilation. */
private var logPhase: List[String] = Nil
- /** Whether to use implicit predefined values or not. */
- private var usepredefs: Option[Boolean] = None
/** Instruct the compiler to generate debugging information */
private var debugInfo: Option[String] = None
/** Instruct the compiler to use additional parameters */
@@ -300,10 +297,6 @@ class Scalac extends MatchingTask {
}
}
- /** Sets the <code>usepredefs</code> attribute. Used by Ant.
- * @param input The value for <code>usepredefs</code>. */
- def setUsepredefs(input: Boolean) { usepredefs = Some(input) }
-
/** Set the <code>debug</code> info attribute.
* @param input The value for <code>debug</code>. */
def setDebuginfo(input: String) { debugInfo = Some(input) }
@@ -543,7 +536,6 @@ class Scalac extends MatchingTask {
settings.debug.value = true
}
if (!logPhase.isEmpty) settings.log.value = logPhase
- if (!usepredefs.isEmpty) settings.nopredefs.value = !usepredefs.get
if (!debugInfo.isEmpty) settings.debuginfo.value = debugInfo.get
if (!deprecation.isEmpty) settings.deprecation.value = deprecation.get
if (!optimise.isEmpty) settings.XO.value = optimise.get