aboutsummaryrefslogtreecommitdiffstats
path: root/src/runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.cpp')
-rw-r--r--src/runtime.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime.cpp b/src/runtime.cpp
index 4edb3e6..26c5885 100644
--- a/src/runtime.cpp
+++ b/src/runtime.cpp
@@ -4,6 +4,12 @@ Runtime::Runtime() {
}
+void Runtime::initValues(const std::vector<int>& values) {
+ for (const int i : values) {
+ m_values.push(i);
+ }
+}
+
/* Returns false if token is not a command */
bool Runtime::runCommand(const Token& token) {
// TODO