diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-11-03 01:50:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-11-03 01:50:46 -0700 |
commit | a89c1bed26fd05fc25034e43901c7f03351721a2 (patch) | |
tree | 1f269a69ecc25d84c2fd99070a9be79c491b0c9f /053recipe_header.cc | |
parent | a3195d440d2f0e99400db78e5a4386691c94a9a0 (diff) | |
download | mu-a89c1bed26fd05fc25034e43901c7f03351721a2.tar.gz |
4104
Stop hardcoding Max_depth everywhere; we had a default value for a reason but then we forgot all about it.
Diffstat (limited to '053recipe_header.cc')
-rw-r--r-- | 053recipe_header.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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. |