summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-09-06 15:49:41 +0000
committerpaltherr <paltherr@epfl.ch>2003-09-06 15:49:41 +0000
commite2b146bbef7479f8bbd2aed1f461ace30d541899 (patch)
tree6b8b379483332274db4868613f028c101db48238 /sources/scalac/Global.java
parent5d956bda6ba36bf9cfc9574d758f4043691fa2f6 (diff)
downloadscala-e2b146bbef7479f8bbd2aed1f461ace30d541899.tar.gz
scala-e2b146bbef7479f8bbd2aed1f461ace30d541899.tar.bz2
scala-e2b146bbef7479f8bbd2aed1f461ace30d541899.zip
- Fixed printed phase name
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r--sources/scalac/Global.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java
index a7b8f1e143..4e23f40510 100644
--- a/sources/scalac/Global.java
+++ b/sources/scalac/Global.java
@@ -293,6 +293,7 @@ public class Global {
currentPhase.apply(units);
stop(currentPhase.descriptor.taskDescription());
if (currentPhase.descriptor.hasPrintFlag()) {
+ printer.beginSection(1, "Trees after phase " + currentPhase);
// go to next phase to print symbols with their new type
boolean next = currentPhase.next != null;
if (next) currentPhase = currentPhase.next;
@@ -328,6 +329,7 @@ public class Global {
currentPhase.apply(new Unit[] {unit}); // !!! pb with Analyzer
stop(currentPhase.descriptor.taskDescription());
if (currentPhase.descriptor.hasPrintFlag()) {
+ printer.beginSection(1, "Trees after phase " + currentPhase);
// go to next phase to print symbols with their new type
boolean next = currentPhase.next != null;
if (next) currentPhase = currentPhase.next;