From 82909349e3a65f864da7f6bea4de2ddd584ae884 Mon Sep 17 00:00:00 2001 From: Eugene Vigdorchik Date: Wed, 23 Feb 2011 15:02:47 +0000 Subject: Partial revert of r24325; tryToSetFromPropertyV... Partial revert of r24325; tryToSetFromPropertyValue is used by Eclipse. --- src/compiler/scala/tools/nsc/settings/AbsSettings.scala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/settings/AbsSettings.scala') diff --git a/src/compiler/scala/tools/nsc/settings/AbsSettings.scala b/src/compiler/scala/tools/nsc/settings/AbsSettings.scala index 0cc3be6e64..59794764fe 100644 --- a/src/compiler/scala/tools/nsc/settings/AbsSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/AbsSettings.scala @@ -106,6 +106,11 @@ trait AbsSettings { protected[nsc] def tryToSetColon(args: List[String]): Option[ResultOfTryToSet] = errorAndValue("'%s' does not accept multiple arguments" format name, None) + /** Attempt to set from a properties file style property value. + * Currently used by Eclipse SDT only. + */ + def tryToSetFromPropertyValue(s: String): Unit = tryToSet(s :: Nil) + /** These categorizations are so the help output shows -X and -P among * the standard options and -Y among the advanced options. */ @@ -131,4 +136,4 @@ trait AbsSettings { trait InternalSetting extends AbsSetting { override def isInternalOnly = true } -} \ No newline at end of file +} -- cgit v1.2.3