Skip to content

Commit 98ebffb

Browse files
committed
[Parser] While loop didn't pop inline
1 parent 0b44c57 commit 98ebffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lang/statement.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@ namespace occa {
719719
condition->print(pout);
720720
pout.popInlined();
721721
pout << ");";
722+
} else {
723+
pout.popInlined();
722724
}
723725
pout.printEndNewline();
724726
}

0 commit comments

Comments
 (0)