aboutsummaryrefslogtreecommitdiffstats
path: root/runtime.h
diff options
context:
space:
mode:
authorjantuomi <jans.tuomi@gmail.com>2016-09-01 11:14:10 +0300
committerjantuomi <jans.tuomi@gmail.com>2016-09-01 11:14:10 +0300
commitbe011366f249b8ebed3905030ce3b7021597ee34 (patch)
tree3b357df175ba1f484d852d73d4cbf3da9c1910df /runtime.h
parentd6b44fb2323b4f6f5e0bd3de33a40d6fd8283c1a (diff)
Add value parsing from stdin, remove value class
Diffstat (limited to 'runtime.h')
-rw-r--r--runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime.h b/runtime.h
index cdecd84..3572391 100644
--- a/runtime.h
+++ b/runtime.h
@@ -1,11 +1,11 @@
#pragma once
-#include "value.h"
#include <vector>
+#include <stack>
#include "token.h"
class Runtime {
private:
- std::vector<Value> m_values;
+ std::stack<int> m_values;
bool runCommand(const Token& token);
public: