From 44c1aeef226542d692f0002b5cca5a3c30935d18 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 10 Sep 2016 10:43:19 -0700 Subject: 3315 --- html/050scenario.cc.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'html/050scenario.cc.html') diff --git a/html/050scenario.cc.html b/html/050scenario.cc.html index 1ec3e9b2..7281a95b 100644 --- a/html/050scenario.cc.html +++ b/html/050scenario.cc.html @@ -196,6 +196,7 @@ Hide_missing_default_space_errors = false} :(before "End Globals") +// this isn't a constant, just a global of type const* const scenario* Current_scenario = NULL; :(code) void run_mu_scenario(const scenario& s) { @@ -266,7 +267,7 @@ Name[r]["__maybe_make_raw_test__"] = Res bind_special_scenario_names(tmp.at(0)); transform_all(); run(tmp.at(0)); - CHECK(trace_count("error") == 0); + CHECK_EQ(trace_count("error"), 0); } //: Watch out for redefinitions of scenario routines. We should never ever be @@ -424,9 +425,7 @@ put(Recipe_ordinal,void check_type(const string& lhs, istream& in) { reagent x(lhs); - if (x.type->name == "array" - && x.type->right && x.type->right->name == "character" - && !x.type->right->right) { + if (is_mu_array(x.type) && is_mu_character(x.type->right)) { x.set_value(to_integer(x.name)); skip_whitespace_and_comments(in); string _assign = next_word(in); -- cgit 1.4.1-2-gfad0