From e97fb47f7cdc2e4075a8beae1c9da802d65d6a81 Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 19 Jan 2007 14:33:50 +0000 Subject: updated check files for cli tests --- src/compiler/scala/tools/nsc/Settings.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/compiler/scala/tools/nsc/Settings.scala') diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index 129d0dcfaf..16f7acfe45 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -1,5 +1,5 @@ -/* NSC -- new scala compiler - * Copyright 2005-2006 LAMP/EPFL +/* NSC -- new Scala compiler + * Copyright 2005-2007 LAMP/EPFL * @author Martin Odersky */ // $Id$ @@ -132,7 +132,7 @@ class Settings(error: String => unit) { Xunapply.value = true val Xplugtypes = BooleanSetting("-Xplugtypes", "parse but ignore annotations in more locations") val Xkilloption = BooleanSetting("-Xkilloption", "optimizes option types") - val XprintOuterMatches = BooleanSetting("-XprintOuterMatches", "prints outer-checks caused by pattern matching ") + val XprintOuterMatches = BooleanSetting("-XprintOuterMatches", "prints outer-checks caused by pattern matching") /** A list of all settings */ def allSettings: List[Setting] = allsettings.reverse @@ -220,8 +220,8 @@ class Settings(error: String => unit) { List(name, value) } - /** A setting represented by a string in a given set of `choices', - * (`default' unless set) + /** A setting represented by a string in a given set of choices, + * (default unless set). */ case class ChoiceSetting(nme: String, descr: String, choices: List[String], default: String) extends Setting(nme, descr + choices.mkString(" (", ",", ")")) { -- cgit v1.2.3