X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogramcompiler.cpp;h=a68c8b96d7c9c40dc94a3bde6211f867652cd2db;hb=d4c9b1ef7ba7a60874ffa7ab2ac4b427a83910e5;hp=fd756de0e00cbbca4c5aa18587b251afc4e94ccb;hpb=48e37a09b49cd4148db390170cfd07eef92c9d02;p=libs%2Fgl.git diff --git a/source/programcompiler.cpp b/source/programcompiler.cpp index fd756de0..a68c8b96 100644 --- a/source/programcompiler.cpp +++ b/source/programcompiler.cpp @@ -944,6 +944,11 @@ void ProgramCompiler::ExpressionEvaluator::visit(Literal &literal) result_valid = true; } +void ProgramCompiler::ExpressionEvaluator::visit(ParenthesizedExpression &parexp) +{ + parexp.expression->visit(*this); +} + void ProgramCompiler::ExpressionEvaluator::visit(VariableReference &var) { if(!var.declaration)