From: Mikko Rasa Date: Fri, 7 Jun 2019 17:27:57 +0000 (+0300) Subject: Visit the rest of an iteration statement in NodeRemover X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4e4a3514961d130045619ea74d0bbab71580838c;p=libs%2Fgl.git Visit the rest of an iteration statement in NodeRemover --- 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); }