--- linuxsampler/trunk/src/scriptvm/common.h 2014/06/05 00:16:25 2594 +++ linuxsampler/trunk/src/scriptvm/common.h 2014/06/05 19:39:12 2596 @@ -48,9 +48,14 @@ VM_EXEC_ERROR = (1<<2), }; + class VMIntExpr; + class VMStringExpr; + class VMExpr { public: virtual ExprType_t exprType() const = 0; + VMIntExpr* asInt() const; + VMStringExpr* asString() const; }; class VMIntExpr : virtual public VMExpr {