Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / ASTInterpreter.h
diff options
context:
space:
mode:
1 files changed, 2 insertions, 1 deletions
-rw-r--r--JSImpl/src/ASTInterpreter.h3
diff --git a/JSImpl/src/ASTInterpreter.h b/JSImpl/src/ASTInterpreter.h
index e8dae37..ba797c1 100644
--- a/JSImpl/src/ASTInterpreter.h
+++ b/JSImpl/src/ASTInterpreter.h
@@ -11,7 +11,8 @@ public:
~ASTInterpreter();
- typedef IPLSharedPtr<double> ValuePtr;
+ typedef std::variant<double> Value;
+ typedef IPLSharedPtr<Value> ValuePtr;
typedef IPLVector<ValuePtr> ValueStack;
ValueStack Run(Expression* program);