summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/tool/parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/slicer/tool/parser.cpp b/slicer/tool/parser.cpp
index 2642292..a1b6f66 100644
--- a/slicer/tool/parser.cpp
+++ b/slicer/tool/parser.cpp
@@ -628,6 +628,10 @@ namespace Slicer {
u->destroy();
+ if (!cppPath.empty()) {
+ cpp = NULL;
+ }
+
return Components() - initial;
}