From a89c1bed26fd05fc25034e43901c7f03351721a2 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 3 Nov 2017 01:50:46 -0700 Subject: 4104 Stop hardcoding Max_depth everywhere; we had a default value for a reason but then we forgot all about it. --- 053recipe_header.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '053recipe_header.cc') diff --git a/053recipe_header.cc b/053recipe_header.cc index 781e0107..16f30917 100644 --- a/053recipe_header.cc +++ b/053recipe_header.cc @@ -24,7 +24,7 @@ has_header = false; :(before "End Recipe Refinements") if (in.peek() != '[') { - trace(9999, "parse") << "recipe has a header; parsing" << end(); + trace("parse") << "recipe has a header; parsing" << end(); load_recipe_header(in, result); } @@ -42,7 +42,7 @@ void load_recipe_header(istream& in, recipe& result) { raise << "recipe " << result.name << " should say '->' and not '<-'\n" << end(); if (s == "->") break; result.ingredients.push_back(reagent(s)); - trace(9999, "parse") << "header ingredient: " << result.ingredients.back().original_string << end(); + trace("parse") << "header ingredient: " << result.ingredients.back().original_string << end(); skip_whitespace_but_not_newline(in); } while (has_data(in) && in.peek() != '[' && in.peek() != '\n') { @@ -53,7 +53,7 @@ void load_recipe_header(istream& in, recipe& result) { return; } result.products.push_back(reagent(s)); - trace(9999, "parse") << "header product: " << result.products.back().original_string << end(); + trace("parse") << "header product: " << result.products.back().original_string << end(); skip_whitespace_but_not_newline(in); } // End Load Recipe Header(result) @@ -149,7 +149,7 @@ if (!result.has_header) { } } if (result.has_header) { - trace(9999, "parse") << "recipe " << result.name << " has a header" << end(); + trace("parse") << "recipe " << result.name << " has a header" << end(); } //: Support type abbreviations in headers. -- cgit 1.4.1-2-gfad0