diff --git a/src/vsg/app/CompileManager.cpp b/src/vsg/app/CompileManager.cpp index 130d3397f..078026007 100644 --- a/src/vsg/app/CompileManager.cpp +++ b/src/vsg/app/CompileManager.cpp @@ -33,7 +33,11 @@ void CompileResult::reset() void CompileResult::add(const CompileResult& cr) { - if (result == VK_INCOMPLETE) result = cr.result; + if (result == VK_INCOMPLETE || result == VK_SUCCESS) + { + result = cr.result; + } + if (cr.maxSlot > maxSlot) maxSlot = cr.maxSlot; if (!containsPagedLOD) containsPagedLOD = cr.containsPagedLOD;