GVN fixed about non managed Exp
[scilab.git] / scilab / modules / core / src / cpp / tasks.cpp
index 0f24ac9..5f3cb9d 100644 (file)
@@ -13,7 +13,7 @@
 *
 */
 
-//#include "AnalysisVisitor.hxx"
+#include "AnalysisVisitor.hxx"
 #include "tasks.hxx"
 #include "timer.hxx"
 #include "context.hxx"
@@ -185,8 +185,8 @@ void execAstTask(ast::Exp* tree, bool serialize, bool timed, bool ASTtimed, bool
         //call analyzer visitor before exec visitor
         if (ConfigVariable::getAnalyzerOptions() == 1)
         {
-            //analysis::AnalysisVisitor analysis;
-            //newTree->accept(analysis);
+            analysis::AnalysisVisitor analysis;
+            newTree->accept(analysis);
         }
 
         exec = (ast::RunVisitor*)ConfigVariable::getDefaultVisitor();