summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
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;