| code |
--- src/compiler/scala/tools/nsc/Main.scala (revision 9881)
+++ src/compiler/scala/tools/nsc/Main.scala (revision 9907)
@@ -38,10 +38,8 @@
}
def process(args: Array[String]): unit = {
- reporter = new ConsoleReporter();
- val command = new CompilerCommand(List.fromArray(args), error, false);
- reporter.prompt = command.settings.prompt.value
- reporter.nowarn = command.settings.nowarnings.value
+ val command = new CompilerCommand(List.fromArray(args), error, false)
+ reporter = new ConsoleReporter(command.settings)
if (command.settings.version.value)
reporter.info(null, versionMsg, true)
else if (command.settings.help.value)
|