diff options
author | Paul Phillips <paulp@improving.org> | 2010-12-05 19:42:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-12-05 19:42:17 +0000 |
commit | ed5459550ef6fd8ed1c23cbe6cec8ba8a541c1e3 (patch) | |
tree | ce6a4a005aa5619c201aa63a75fdb2b98781d1b0 /src/compiler/scala/tools/ant/FastScalac.scala | |
parent | 77eb8fefec3e62ead95c7d409ec5a28f30289ec3 (diff) | |
download | scala-ed5459550ef6fd8ed1c23cbe6cec8ba8a541c1e3.tar.gz scala-ed5459550ef6fd8ed1c23cbe6cec8ba8a541c1e3.tar.bz2 scala-ed5459550ef6fd8ed1c23cbe6cec8ba8a541c1e3.zip |
Cleaned up and brought up to date the help text...
Cleaned up and brought up to date the help text for -X and -Y options.
Made some enhancements to PhasesSetting, which are documented if you
run scalac -X or -Y. (Try it!) Disabled some dead settings and renamed
others to reflect their current purpose. No review.
Diffstat (limited to 'src/compiler/scala/tools/ant/FastScalac.scala')
-rw-r--r-- | src/compiler/scala/tools/ant/FastScalac.scala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/FastScalac.scala b/src/compiler/scala/tools/ant/FastScalac.scala index 98e6098f89..f016739a2b 100644 --- a/src/compiler/scala/tools/ant/FastScalac.scala +++ b/src/compiler/scala/tools/ant/FastScalac.scala @@ -75,6 +75,12 @@ class FastScalac extends Scalac { reset.value = resetCaches shutdown.value = shutdownServer + /** XXX Since fsc is largely unmaintained, the set of options being individually + * assessed here is likely to bear little relationship to the current set of options. + * Most likely this manifests in confusing and very difficult to debug behavior in fsc. + * We should warn or fix. + */ + val stringSettings = List(s.outdir, s.classpath, s.bootclasspath, s.extdirs, s.encoding) flatMap (x => List(x.name, x.value)) @@ -85,7 +91,7 @@ class FastScalac extends Scalac { List(s.debuginfo, s.target) map (x => "%s:%s".format(x.name, x.value)) val booleanSettings = - List(s.debug, s.deprecation, s.nopredefs, s.verbose, reset, shutdown) map (x => if (x.value) List(x.name) else Nil) flatten + List(s.debug, s.deprecation, s.verbose, reset, shutdown) map (x => if (x.value) List(x.name) else Nil) flatten val phaseSetting = { val s = settings.log |