analyze: manage return in function 75/19375/2
Antoine ELIAS [Mon, 14 Aug 2017 19:20:17 +0000 (21:20 +0200)]
Change-Id: I5247ca53e21ecb64b1a8520e08ff98404654d0b7

scilab/modules/ast/includes/analysis/AnalysisVisitor.hxx

index cbcc05a..326c602 100644 (file)
@@ -427,8 +427,7 @@ private:
         logger.log(L"ReturnExp", e.getLocation());
         getDM().getCurrent()->setReturn(true);
         // Bug with return;
-        //e.exp_get().accept(*this);
-
+        e.getExp().accept(*this);
     }
 
     void visit(ast::FieldExp & e)