about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-14 00:31:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-14 00:31:48 -0700
commit9b187f3f1e944a68331b1579771dae8a35a0e281 (patch)
treefa3b254e425c05f868ddc82887b24b0bdede185b /cpp
parentdf8bb4c30d8ef534ddde50a4ac8ce9ecb411b72f (diff)
downloadmu-9b187f3f1e944a68331b1579771dae8a35a0e281.tar.gz
903
Diffstat (limited to 'cpp')
-rw-r--r--cpp/012run2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/012run b/cpp/012run
index 12e5696e..70317745 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -72,6 +72,8 @@ void run(routine rr) {
     }
     // End Primitive Recipe Implementations.
     default: {
+      // unknown op = try to call a defined recipe
+      // TODO: this should be later, in the same layer as next_ingredient
 //?       cout << "non primitive op: " << instructions[pc].operation << '\n'; //? 1
       if (Recipe.find(instructions[pc].operation) == Recipe.end()) {
         raise << "undefined operation " << instructions[pc].operation << '\n';