bug fix for output of interactive expression in ginaccint
authorAlexander Frink <Alexander.Frink@uni-mainz.de>
Thu, 3 Feb 2000 00:56:21 +0000 (00:56 +0000)
committerAlexander Frink <Alexander.Frink@uni-mainz.de>
Thu, 3 Feb 2000 00:56:21 +0000 (00:56 +0000)
ginac/ex.h

index b63c3726ca98f2f36d0d41a02f410bb3563a8530..974bfde3cde5f8a6d3fca144885376b3b097e116 100644 (file)
@@ -312,6 +312,7 @@ protected:
             }
             last_created_or_assigned_bp=bp;
             ++last_created_or_assigned_bp->refcount;
+            last_created_or_assigned_exp=(long)(void *)(this);
         }
 #endif // def OBSCURE_CINT_HACK
 
@@ -320,7 +321,9 @@ protected:
 public:
     basic *bp;
 #ifdef OBSCURE_CINT_HACK
-    static basic *last_created_or_assigned_bp;
+    static basic * last_created_or_assigned_bp;
+    static basic * dummy_bp;
+    static long last_created_or_assigned_exp;
 #endif // def OBSCURE_CINT_HACK
 };