From e2b146bbef7479f8bbd2aed1f461ace30d541899 Mon Sep 17 00:00:00 2001 From: paltherr Date: Sat, 6 Sep 2003 15:49:41 +0000 Subject: - Fixed printed phase name --- sources/scalac/Global.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sources/scalac/Global.java') 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; -- cgit v1.2.3