diff options
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/010vm b/cpp/010vm index 526d4593..e3cb9c30 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -134,15 +134,12 @@ void setup_recipes() { // Reagents have the form <name>:<type>:<type>:.../<property>/<property>/... reagent::reagent(string s) { -//? cout << s << '\n'; //? 1 istringstream in(s); name = slurp_until(in, ':'); istringstream ts(slurp_until(in, '/')); string t; - while (!(t = slurp_until(ts, ':')).empty()) { + while (!(t = slurp_until(ts, ':')).empty()) types.push_back(Type_number[t]); - } -//? cout << types.size() << '\n'; //? 1 // properties while (!in.eof()) { istringstream prop(slurp_until(in, '/')); |