From d059fe743df6a5e8a72fc1418f2c3ba1ed5ac1e6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 20 Oct 2016 00:37:24 -0700 Subject: 3524 --- html/011load.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/011load.cc.html') diff --git a/html/011load.cc.html b/html/011load.cc.html index 7b459d47..a80dce11 100644 --- a/html/011load.cc.html +++ b/html/011load.cc.html @@ -157,7 +157,7 @@ vector<recipe_ordinal> load(istream& in vector<string>::iterator p = words.begin(); if (find(words.begin(), words.end(), "<-") != words.end()) { - for (; *p != "<-"; ++p) + for (; *p != "<-"; ++p) curr->products.push_back(reagent(*p)); ++p; // skip <- } @@ -169,14 +169,14 @@ vector<recipe_ordinal> load(istream& in curr->old_name = curr->name = *p; ++p; // curr->operation will be set in a later layer - for (; p != words.end(); ++p) + for (; p != words.end(); ++p) curr->ingredients.push_back(reagent(*p)); trace(9993, "parse") << "instruction: " << curr->name << end(); trace(9993, "parse") << " number of ingredients: " << SIZE(curr->ingredients) << end(); - for (vector<reagent>::iterator p = curr->ingredients.begin(); p != curr->ingredients.end(); ++p) + for (vector<reagent>::iterator p = curr->ingredients.begin(); p != curr->ingredients.end(); ++p) trace(9993, "parse") << " ingredient: " << to_string(*p) << end(); - for (vector<reagent>::iterator p = curr->products.begin(); p != curr->products.end(); ++p) + for (vector<reagent>::iterator p = curr->products.begin(); p != curr->products.end(); ++p) trace(9993, "parse") << " product: " << to_string(*p) << end(); if (!has_data(in)) { raise << "9: unbalanced '[' for recipe\n" << end(); -- cgit 1.4.1-2-gfad0