diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-22 00:17:18 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-22 00:17:18 -0800 |
commit | 333777c693463e56f6560bf184db8eca832834d1 (patch) | |
tree | 020353a158307591a62c9cf606e6a039b8d90441 /cpp/010vm | |
parent | 6cc4621602ac00effcfedeeb01593d5e619db0f9 (diff) | |
download | mu-333777c693463e56f6560bf184db8eca832834d1.tar.gz |
815
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, '/')); |