diff options
author | paltherr <paltherr@epfl.ch> | 2003-08-25 15:30:34 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-08-25 15:30:34 +0000 |
commit | 8246648ff155849e494b3be34faa7439dc23e9eb (patch) | |
tree | 6768612766e312182315acb3560ab2d1c5dde13b | |
parent | 1cfdffddd1d0d8d71426ef6c1b43aba3e9187561 (diff) | |
download | scala-8246648ff155849e494b3be34faa7439dc23e9eb.tar.gz scala-8246648ff155849e494b3be34faa7439dc23e9eb.tar.bz2 scala-8246648ff155849e494b3be34faa7439dc23e9eb.zip |
- Fixed transformation of STOP into SKIP
-rw-r--r-- | sources/scalac/PhaseDescriptor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/PhaseDescriptor.java b/sources/scalac/PhaseDescriptor.java index 4075d8a88f..602a329fb6 100644 --- a/sources/scalac/PhaseDescriptor.java +++ b/sources/scalac/PhaseDescriptor.java @@ -42,8 +42,8 @@ public final class PhaseDescriptor { // transform STOP flags into SKIP flags boolean stop = false; for (int i = 0; i < phases.length; i++) { - stop |= phases[i].hasStopFlag(); if (stop) phases[i].flags |= SKIP; + stop |= phases[i].hasStopFlag(); if (stop) phases[i].flags &= ~STOP; } // remove SKIP flag on INITIAL and TERMINAL phases |