diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-01-13 11:27:57 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-01-13 11:27:57 +0000 |
commit | eb15d28974978c333433a432629cfa71772cf24a (patch) | |
tree | c63cbb773643cabc5cc96fbe85ae9c86adaf84b5 /src | |
parent | ccb7b56e5ece0724d0df923a183bf54b71c76a86 (diff) | |
download | scala-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.scala | 5 |
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 } |