about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-08 00:35:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-08 00:35:53 -0700
commita2be26c8876cd4da4e5966e541ee4fba60024cde (patch)
treebfbf4f8d132bb072a2a62d61feef99afb1b7e565
parent2b7a7498f98d1696adc2c6949f8d53f7fa18109e (diff)
downloadmu-a2be26c8876cd4da4e5966e541ee4fba60024cde.tar.gz
1035
-rw-r--r--cpp/010vm2
-rw-r--r--cpp/019address2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/010vm b/cpp/010vm
index 5d3ddd53..8d1c71df 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -151,7 +151,7 @@ void setup_recipes() {
 //: Helpers
 
 :(code)
-// indent members to avoid generating prototypes for them
+// indent methods to avoid generating prototypes for them
   instruction::instruction() :is_label(false), operation(IDLE) {}
   void instruction::clear() { is_label=false; label.clear(); operation=IDLE; ingredients.clear(); products.clear(); }
 
diff --git a/cpp/019address b/cpp/019address
index 0b39c71d..58d852cd 100644
--- a/cpp/019address
+++ b/cpp/019address
@@ -47,7 +47,7 @@ bool has_property(reagent x, string name) {
 }
 
 reagent deref(reagent x) {
-//?   cout << "deref\n"; //? 1
+//?   cout << "deref: " << x.to_string() << "\n"; //? 2
   static const int ADDRESS = Type_number["address"];
   reagent result;
   assert(x.types[0] == ADDRESS);