diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/Properties.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Properties.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Properties.scala b/src/compiler/scala/tools/nsc/Properties.scala index e85284dbe2..0a9e9d39aa 100644 --- a/src/compiler/scala/tools/nsc/Properties.scala +++ b/src/compiler/scala/tools/nsc/Properties.scala @@ -16,7 +16,10 @@ object Properties extends scala.util.PropertiesTrait { val fileEndingString = prop("file.ending", ".scala|.java") val residentPromptString = prop("resident.prompt", "\nnsc> ") val shellPromptString = prop("shell.prompt", "\nscala> ") + + // derived values val cmdName = if (isWin) "scala.bat" else "scala" + val fileEndings = fileEndingString.split("""\|""").toList // settings based on System properties val envClasspath = sysprop("env.classpath", null) |