Analysis: fix bug in OperAnalyzer
[scilab.git] / scilab / modules / ast / includes / analysis / Decorator.hxx
index 142c5b9..f28f3ad 100644 (file)
@@ -100,6 +100,12 @@ struct Decorator
         return res;
     }
 
+    inline Result & setResult(Result & _res)
+    {
+        res = _res;
+        return res;
+    }
+
     inline const Result & getResult() const
     {
         return res;