diff options
Diffstat (limited to 'org.eclipse.debug.examples.core')
-rw-r--r-- | org.eclipse.debug.examples.core/src_ant/org/eclipse/debug/examples/ant/tasks/PreProcessor.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.core/src_ant/org/eclipse/debug/examples/ant/tasks/PreProcessor.java b/org.eclipse.debug.examples.core/src_ant/org/eclipse/debug/examples/ant/tasks/PreProcessor.java index 30495d3f4..59baccb85 100644 --- a/org.eclipse.debug.examples.core/src_ant/org/eclipse/debug/examples/ant/tasks/PreProcessor.java +++ b/org.eclipse.debug.examples.core/src_ant/org/eclipse/debug/examples/ant/tasks/PreProcessor.java @@ -231,6 +231,7 @@ public class PreProcessor extends Task { } else if (ifdef) { throw new BuildException("illegal nested #ifdef"); } + break; case STATE_FALSE_CONDITION: if (elseif) { String condition = line.substring(ELSE_IF_MATCHER.start(), ELSE_IF_MATCHER.end()); @@ -250,6 +251,7 @@ public class PreProcessor extends Task { } else if (ifdef) { throw new BuildException("illegal nested #ifdef"); } + break; case STATE_POST_TRUE_CONDITION: if (endif) { state = STATE_OUTSIDE_CONDITION; @@ -257,6 +259,7 @@ public class PreProcessor extends Task { } else if (ifdef) { throw new BuildException("illegal nested #ifdef"); } + break; } if (!commandLine) { if (state == STATE_OUTSIDE_CONDITION || state == STATE_TRUE_CONDITION) { |