diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 21:45:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 21:45:51 -0700 |
commit | 7f707a515eb26c4bcd4168412a0a1c65a81b1e05 (patch) | |
tree | 113e9a07b6aa87bd024c85c9a5e736bb1341ab7a | |
parent | 0606f4ace4fc6f610c89d8b7f561e09cc486b952 (diff) | |
download | mu-7f707a515eb26c4bcd4168412a0a1c65a81b1e05.tar.gz |
3575
-rw-r--r-- | 071recipe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/071recipe.cc b/071recipe.cc index 2acfa840..18861ad7 100644 --- a/071recipe.cc +++ b/071recipe.cc @@ -339,7 +339,7 @@ def main [ } ] # error should be as if foo is not a recipe -+error: main: missing type for foo in 'break-if foo' ++error: main: missing type for 'foo' in 'break-if foo' :(before "End JUMP_IF Checks") check_for_recipe_literals(inst, get(Recipe, r)); @@ -349,6 +349,6 @@ check_for_recipe_literals(inst, get(Recipe, r)); void check_for_recipe_literals(const instruction& inst, const recipe& caller) { for (int i = 0; i < SIZE(inst.ingredients); ++i) { if (is_mu_recipe(inst.ingredients.at(i))) - raise << maybe(caller.name) << "missing type for " << inst.ingredients.at(i).original_string << " in '" << inst.original_string << "'\n" << end(); + raise << maybe(caller.name) << "missing type for '" << inst.ingredients.at(i).original_string << "' in '" << inst.original_string << "'\n" << end(); } } |