about summary refs log tree commit diff stats
path: root/058shape_shifting_container.cc
diff options
context:
space:
mode:
Diffstat (limited to '058shape_shifting_container.cc')
-rw-r--r--058shape_shifting_container.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/058shape_shifting_container.cc b/058shape_shifting_container.cc
index 6416aca1..c9975b44 100644
--- a/058shape_shifting_container.cc
+++ b/058shape_shifting_container.cc
@@ -59,12 +59,10 @@ void read_type_ingredients(string& name) {
   }
 }
 
-:(before "End insert_container Special Uses(type_name)")
+:(before "End insert_container Special-cases")
 // check for use of type ingredients
-if (type_name.at(0) == '_') {
-  *curr_type = new type_tree(get(info.type_ingredient_names, type_name));
-  trace(9999, "parse") << "  type: " << get(info.type_ingredient_names, type_name) << end();
-  continue;
+else if (!properties->value.empty() && properties->value.at(0) == '_') {
+  result->value = get(info.type_ingredient_names, properties->value);
 }
 
 :(before "End Container Type Checks")