diff options
Diffstat (limited to '037recipe.cc')
-rw-r--r-- | 037recipe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/037recipe.cc b/037recipe.cc index 7ec0191b..bbc197c8 100644 --- a/037recipe.cc +++ b/037recipe.cc @@ -43,12 +43,12 @@ Recipe_ordinal["call"] = CALL; :(before "End Primitive Recipe Implementations") case CALL: { if (ingredients.empty()) { - raise << current_recipe_name() << ": 'call' requires at least one ingredient (the recipe to call)\n" << end(); + raise << maybe(current_recipe_name()) << "'call' requires at least one ingredient (the recipe to call)\n" << end(); break; } // Begin Call if (!scalar(ingredients.at(0))) { - raise << current_recipe_name() << ": first ingredient of 'call' should be a recipe, but got " << current_instruction().ingredients.at(0).original_string << '\n' << end(); + raise << maybe(current_recipe_name()) << "first ingredient of 'call' should be a recipe, but got " << current_instruction().ingredients.at(0).original_string << '\n' << end(); break; } // todo: when we start doing type checking this will be a prime point of |