summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Settings.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-01-30 06:30:57 +0000
committerPaul Phillips <paulp@improving.org>2010-01-30 06:30:57 +0000
commitc73ab4525e402cbbc0fd745a34c453520c87564c (patch)
tree9283e20e3edc5b0eb68853ba52a5101474dd2037 /src/compiler/scala/tools/nsc/Settings.scala
parentbb149d1b96015d83e58de5ea9b380550267c4f06 (diff)
downloadscala-c73ab4525e402cbbc0fd745a34c453520c87564c.tar.gz
scala-c73ab4525e402cbbc0fd745a34c453520c87564c.tar.bz2
scala-c73ab4525e402cbbc0fd745a34c453520c87564c.zip
A compact tree printer, for primitives like mys...
A compact tree printer, for primitives like myself who do all their debugging in the console and need extraneous information filtered out. New option: -Ycompact-trees. Supply that in conjunction with -Xprint:all and suddenly the output is a (relative) masterpiece of concision. Review by anyone who is game to review such a thing. Community?
Diffstat (limited to 'src/compiler/scala/tools/nsc/Settings.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Settings.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala
index 05e12760a2..f15017f933 100644
--- a/src/compiler/scala/tools/nsc/Settings.scala
+++ b/src/compiler/scala/tools/nsc/Settings.scala
@@ -892,6 +892,7 @@ trait ScalacSettings {
val check = PhasesSetting ("-Ycheck", "Check the tree at the end of")
val Xcloselim = BooleanSetting ("-Yclosure-elim", "Perform closure elimination")
val Xcodebase = StringSetting ("-Ycodebase", "codebase", "Specify the URL containing the Scala libraries", "")
+ val Ycompacttrees = BooleanSetting ("-Ycompact-trees", "Use compact tree printer when displaying trees")
val noCompletion = BooleanSetting ("-Yno-completion", "Disable tab-completion in the REPL")
val Xdce = BooleanSetting ("-Ydead-code", "Perform dead code elimination")
val debug = BooleanSetting ("-Ydebug", "Output debugging messages")