about summary refs log tree commit diff stats
path: root/054dilated_reagent.cc
diff options
context:
space:
mode:
Diffstat (limited to '054dilated_reagent.cc')
-rw-r--r--054dilated_reagent.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/054dilated_reagent.cc b/054dilated_reagent.cc
index af7e5820..70217ee4 100644
--- a/054dilated_reagent.cc
+++ b/054dilated_reagent.cc
@@ -80,13 +80,11 @@ if (s.at(0) == '{') {
     string key = next_dilated_word(in);
     if (key.empty()) continue;
     string value = next_dilated_word(in);
-    vector<string> values;
-    values.push_back(value);
-    properties.push_back(pair<string, vector<string> >(key, values));
+    properties.push_back(pair<string, string_tree*>(key, new string_tree(value)));
   }
   // structures for the first row of properties
   name = properties.at(0).first;
-  string type_name = properties.at(0).second.at(0);
+  string type_name = properties.at(0).second->value;
   if (Type_ordinal.find(type_name) == Type_ordinal.end()) {
       // this type can't be an integer
     Type_ordinal[type_name] = Next_type_ordinal++;