From 5e35dc3659351e9e4e6ec9f1d504cd6e214ec8e4 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Sat, 21 Jul 2007 22:39:54 +0000 Subject: Fixed relentless problem --- src/net/sf/antcontrib/cpptasks/CCTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 } -- cgit v1.2.3