summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 59ade1c76..bb89b2720 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -181,9 +181,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
}
o << " " << curr->default_;
incIndent();
- if (curr->value) {
- printFullLine(curr->value);
- }
+ if (curr->value && !curr->value->is<Nop>()) printFullLine(curr->value);
printFullLine(curr->condition);
decIndent();
}