about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-21 17:53:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-21 17:53:20 -0700
commit7da71d032cc79b0dbcf962abdbdbb2732143a1d3 (patch)
treed6d1e4a85e45548eebb5add79d1b6a5c9fdc634c /cpp/010vm
parentb9011f3481c7cb630bdfdf69feee24ddd540af4a (diff)
downloadmu-7da71d032cc79b0dbcf962abdbdbb2732143a1d3.tar.gz
966 - c++: starting on default-space
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/010vm b/cpp/010vm
index d37dd83a..c7de25b0 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -45,6 +45,7 @@ struct reagent {
   vector<type_number> types;
   reagent(string s);
   reagent(type_number t);
+  void set_value(int v) { value = v; initialized = true; }
   string to_string();
 };