diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2005-11-29 18:19:38 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2005-11-29 18:19:38 +0000 |
commit | 15724bed1b9211a260805af2e6005df8d0d39f56 (patch) | |
tree | 3d97e021455e98880e99f74aea190f5350a591ce /sources/scala/tools/nsc/Settings.scala | |
parent | 4cf6770e38bb7ab8654b6ce225d181f5e3ca51b4 (diff) | |
download | scala-15724bed1b9211a260805af2e6005df8d0d39f56.tar.gz scala-15724bed1b9211a260805af2e6005df8d0d39f56.tar.bz2 scala-15724bed1b9211a260805af2e6005df8d0d39f56.zip |
* Added semantic token models to support Eclips...
* Added semantic token models to support Eclipse IDE. Fixed positions
* to handle Windows newlines Fixed as much code generation line number
* issues as possible, but some issues may remain.
Diffstat (limited to 'sources/scala/tools/nsc/Settings.scala')
-rw-r--r-- | sources/scala/tools/nsc/Settings.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/scala/tools/nsc/Settings.scala b/sources/scala/tools/nsc/Settings.scala index 8e66ee3dac..97518f0ac9 100644 --- a/sources/scala/tools/nsc/Settings.scala +++ b/sources/scala/tools/nsc/Settings.scala @@ -99,12 +99,12 @@ class Settings(error: String => unit) { def tryToSet(args: List[String]): List[String] = args match { case n :: rest if (n == name) => if (rest.isEmpty) { - error("missing argument"); - List() - } else { - value = rest.head; - rest.tail - } + error("missing argument"); + List() + } else { + value = rest.head; + rest.tail + } case _ => args } |