diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 11:22:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-17 11:22:59 -0700 |
commit | 2199940af170456929a3c4fe4d07d25afea6ae55 (patch) | |
tree | 178c2f4a4188c19da3bfd1a0b3f32ec6a82880e6 /cpp/035call | |
parent | c18e17f22feaf308376f53f2f61775ddad0e4a9d (diff) | |
download | mu-2199940af170456929a3c4fe4d07d25afea6ae55.tar.gz |
1077
Diffstat (limited to 'cpp/035call')
-rw-r--r-- | cpp/035call | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/035call b/cpp/035call index 3683db12..21d07b18 100644 --- a/cpp/035call +++ b/cpp/035call @@ -1,4 +1,5 @@ -//: So far the recipes we define can't run each other. Let's change that. +//: So far the recipes we define can't run each other. Let's fix that. + :(scenario "calling_recipe") recipe main [ f @@ -46,7 +47,7 @@ inline vector<instruction>& steps(routine& rr) { :(replace{} "default:" following "End Primitive Recipe Implementations") default: { - // not a primitive; try to look for a matching recipe + // not a primitive; try to look up the book of recipes if (Recipe.find(instructions[pc].operation) == Recipe.end()) { raise << "undefined operation " << instructions[pc].operation << ": " << instructions[pc].name << '\n'; break; |