From 4e4a3514961d130045619ea74d0bbab71580838c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 7 Jun 2019 20:27:57 +0300 Subject: [PATCH] Visit the rest of an iteration statement in NodeRemover --- source/programcompiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/programcompiler.cpp b/source/programcompiler.cpp index 7cf79515..0559d41e 100644 --- a/source/programcompiler.cpp +++ b/source/programcompiler.cpp @@ -1687,6 +1687,7 @@ void ProgramCompiler::NodeRemover::visit(Iteration &iter) { if(to_remove.count(iter.init_statement.get())) iter.init_statement = 0; + TraversingVisitor::visit(iter); } -- 2.45.2