From 50e0065e1e2aca3f64130ede9cf0e33c9c725718 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 10 Feb 2016 10:20:33 -0800 Subject: 2643 --- 011load.cc | 4 ++-- 036call_reply.cc | 1 - 056recipe_header.cc | 4 ++-- 059shape_shifting_recipe.cc | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/011load.cc b/011load.cc index dd1f9369..4783c324 100644 --- a/011load.cc +++ b/011load.cc @@ -44,7 +44,7 @@ long long int slurp_recipe(istream& in) { recipe result; result.name = next_word(in); skip_whitespace_but_not_newline(in); - // End recipe Refinements + // End Recipe Refinements if (result.name.empty()) raise_error << "empty result.name\n" << end(); trace(9991, "parse") << "--- defining " << result.name << end(); @@ -58,7 +58,7 @@ long long int slurp_recipe(istream& in) { Recipe.erase(get(Recipe_ordinal, result.name)); } slurp_body(in, result); - // End recipe Body(result) + // End Recipe Body(result) put(Recipe, get(Recipe_ordinal, result.name), result); // track added recipes because we may need to undo them in tests; see below Recently_added_recipes.push_back(get(Recipe_ordinal, result.name)); diff --git a/036call_reply.cc b/036call_reply.cc index da824d9e..1e02b817 100644 --- a/036call_reply.cc +++ b/036call_reply.cc @@ -87,7 +87,6 @@ void check_types_of_reply_instructions(recipe_ordinal r) { reagent rhs = caller_instruction.products.at(i); canonize_type(rhs); raise_error << debug_string(lhs.type) << " vs " << debug_string(rhs.type) << '\n' << end(); - // End reply Type Mismatch Error goto finish_reply_check; } } diff --git a/056recipe_header.cc b/056recipe_header.cc index de6793de..baacaf8f 100644 --- a/056recipe_header.cc +++ b/056recipe_header.cc @@ -22,7 +22,7 @@ vector products; :(before "End recipe Constructor") has_header = false; -:(before "End recipe Refinements") +:(before "End Recipe Refinements") if (in.peek() != '[') { trace(9999, "parse") << "recipe has a header; parsing" << end(); load_recipe_header(in, result); @@ -115,7 +115,7 @@ recipe test [ ] +parse: recipe test has a header -:(before "End recipe Body(result)") +:(before "End Recipe Body(result)") if (!result.has_header) { result.has_header = true; for (long long int i = 0; i < SIZE(result.steps); ++i) { diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc index 754d9e77..39ec6fb4 100644 --- a/059shape_shifting_recipe.cc +++ b/059shape_shifting_recipe.cc @@ -63,7 +63,7 @@ Recently_added_shape_shifting_recipes.clear(); :(before "End recipe Fields") string original_name; //: original name is only set during load -:(before "End recipe Refinements") +:(before "End Recipe Refinements") result.original_name = result.name; :(before "End Instruction Dispatch(inst, best_score)") -- cgit 1.4.1-2-gfad0