summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2006-01-13 11:27:57 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2006-01-13 11:27:57 +0000
commiteb15d28974978c333433a432629cfa71772cf24a (patch)
treec63cbb773643cabc5cc96fbe85ae9c86adaf84b5 /src
parentccb7b56e5ece0724d0df923a183bf54b71c76a86 (diff)
downloadscala-eb15d28974978c333433a432629cfa71772cf24a.tar.gz
scala-eb15d28974978c333433a432629cfa71772cf24a.tar.bz2
scala-eb15d28974978c333433a432629cfa71772cf24a.zip
not sure if this was fixed already, but changed...
not sure if this was fixed already, but changed sourcepath default to "." so it wouldn't crash the classpath class anymore.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/Settings.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala
index 3375134c2c..6bc72e353c 100644
--- a/src/compiler/scala/tools/nsc/Settings.scala
+++ b/src/compiler/scala/tools/nsc/Settings.scala
@@ -57,7 +57,7 @@ class Settings(error: String => unit) {
val noassertions = BooleanSetting("-noassert", "Generate no assertions and assumptions")
val verbose = BooleanSetting("-verbose", "Output messages about what the compiler is doing")
val classpath = StringSetting ("-classpath", "path", "Specify where to find user class files", classpathDefault)
- val sourcepath = StringSetting ("-sourcepath", "path", "Specify where to find input source files", "")
+ val sourcepath = StringSetting ("-sourcepath", "path", "Specify where to find input source files", ".")
val bootclasspath = StringSetting ("-bootclasspath", "path", "Override location of bootstrap class files", bootclasspathDefault)
val extdirs = StringSetting ("-extdirs", "dirs", "Override location of installed extensions", extdirsDefault)
val outdir = StringSetting ("-d", "directory", "Specify where to place generated class files", "")
@@ -140,6 +140,9 @@ class Settings(error: String => unit) {
} else {
value = rest.head
rest.tail
+
+
+
}
case _ => args
}