summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks')
-rw-r--r--src/net/sf/antcontrib/cpptasks/CCTask.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/CCTask.java b/src/net/sf/antcontrib/cpptasks/CCTask.java
index bd31ccc..b385393 100644
--- a/src/net/sf/antcontrib/cpptasks/CCTask.java
+++ b/src/net/sf/antcontrib/cpptasks/CCTask.java
@@ -822,8 +822,9 @@ public class CCTask extends Task {
}
}
- if (!relentless)
+ if ((!relentless) && (compileException != null)) {
break;
+ }
// ENDFREEHEP
}