about summary refs log tree commit diff stats
path: root/014literal_string.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 /014literal_string.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 '014literal_string.cc')
-rw-r--r--014literal_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/014literal_string.cc b/014literal_string.cc
index d089250e..12015f3b 100644
--- a/014literal_string.cc
+++ b/014literal_string.cc
@@ -110,7 +110,7 @@ if (s.at(0) == '[') {
   s.erase(0, 1);
   strip_last(s);
   name = s;
-  type = new type_tree(0);
+  type = new type_tree("literal-string", 0);
   properties.push_back(pair<string, string_tree*>(name, new string_tree("literal-string")));
   return;
 }