diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-08-25 11:57:45 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2006-08-25 11:57:45 +0000 |
commit | 5a4ad1c3ffa2025e0d833139db6dc0f45f0839c8 (patch) | |
tree | e0c4b635228a9ebb02df891e0e90e57d31b5f567 /src/compiler/scala/tools/nsc/MainTokenMetric.scala | |
parent | 6d9e1774b9d543550473b3f32c4925d290c9edd1 (diff) | |
download | scala-5a4ad1c3ffa2025e0d833139db6dc0f45f0839c8.tar.gz scala-5a4ad1c3ffa2025e0d833139db6dc0f45f0839c8.tar.bz2 scala-5a4ad1c3ffa2025e0d833139db6dc0f45f0839c8.zip |
Eliminated need for extra global class so Globa...
Eliminated need for extra global class so Global can remain concrete.
Diffstat (limited to 'src/compiler/scala/tools/nsc/MainTokenMetric.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/MainTokenMetric.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/MainTokenMetric.scala b/src/compiler/scala/tools/nsc/MainTokenMetric.scala index cfe1b9a7ec..0fe6e0a2cc 100644 --- a/src/compiler/scala/tools/nsc/MainTokenMetric.scala +++ b/src/compiler/scala/tools/nsc/MainTokenMetric.scala @@ -44,7 +44,7 @@ object MainTokenMetric { val command = new CompilerCommand(List.fromArray(args), error, false) reporter = new ConsoleReporter() try { - val compiler = new StdGlobal(command.settings, reporter) + val compiler = new Global(command.settings, reporter) tokenMetric(compiler, command.files) } catch { case ex @ FatalError(msg) => |