summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-10-10 01:02:26 +0000
committerLex Spoon <lex@lexspoon.org>2007-10-10 01:02:26 +0000
commit9db671d7025142ad9a44ee18d3c3361f3830d7ee (patch)
treef28974e45312341789584b856742e2bc69eb43da /src/compiler/scala/tools/nsc/Global.scala
parent853a0a543322c8befadd30c1ab5a1e9925c7506a (diff)
downloadscala-9db671d7025142ad9a44ee18d3c3361f3830d7ee.tar.gz
scala-9db671d7025142ad9a44ee18d3c3361f3830d7ee.tar.bz2
scala-9db671d7025142ad9a44ee18d3c3361f3830d7ee.zip
removed hook for using different ScriptRunner's
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 45a68c5a16..b59a4eac70 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -46,9 +46,6 @@ class Global(var settings: Settings, var reporter: Reporter) extends Trees
//def this() = this(new Settings, new ConsoleReporter)
- // helper modules
- val scriptRunner: ScriptRunner = ScriptRunner
-
// sub-components --------------------------------------------------
object nodePrinters extends NodePrinters {
val global: Global.this.type = Global.this
@@ -614,7 +611,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends Trees
error("can only compile one script at a time")
val sources = filenames map (
if (scriptMain != "")
- (x => scriptRunner.wrappedScript(scriptMain, x, getSourceFile _))
+ (x => ScriptRunner.wrappedScript(scriptMain, x, getSourceFile _))
else
getSourceFile)
compileSources(sources)