diff options
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/050scenario.cc b/050scenario.cc index 28ef58e7..b9f3099a 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -62,7 +62,6 @@ struct scenario { :(before "End Globals") vector<scenario> Scenarios; -set<string> Scenario_names; //:: Parse the 'scenario' form. //: Simply store the text of the scenario. @@ -76,9 +75,6 @@ else if (command == "scenario") { scenario parse_scenario(istream& in) { scenario result; result.name = next_word(in); - if (contains_key(Scenario_names, result.name)) - raise << "duplicate scenario name: '" << result.name << "'\n" << end(); - Scenario_names.insert(result.name); skip_whitespace_and_comments(in); if (in.peek() != '[') { raise << "Expected '[' after scenario '" << result.name << "'\n" << end(); @@ -752,7 +748,6 @@ void mark_autogenerated(recipe_ordinal r) { :(code) // just for the scenarios running scenarios in C++ layers void run_mu_scenario(const string& form) { - Scenario_names.clear(); istringstream in(form); in >> std::noskipws; skip_whitespace_and_comments(in); |