about summary refs log tree commit diff stats
path: root/040brace.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-20 08:54:42 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-20 08:54:42 -0800
commit343bc5359b93d4b589544671804f11d42f67d694 (patch)
tree1725c408df8841a945931beb55c8976558bea230 /040brace.cc
parent41e6effbbe61951f62ec000c676f625793044549 (diff)
downloadmu-343bc5359b93d4b589544671804f11d42f67d694.tar.gz
2677
Include type names in the type tree. Though we aren't using them yet.
Diffstat (limited to '040brace.cc')
-rw-r--r--040brace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/040brace.cc b/040brace.cc
index 007088a3..873c604c 100644
--- a/040brace.cc
+++ b/040brace.cc
@@ -114,7 +114,7 @@ void transform_braces(const recipe_ordinal r) {
     }
     // if implicit, compute target
     reagent target;
-    target.type = new type_tree(get(Type_ordinal, "offset"));
+    target.type = new type_tree("offset", get(Type_ordinal, "offset"));
     target.properties.at(0).second = new string_tree("offset");
     target.set_value(0);
     if (open_braces.empty())