about summary refs log tree commit diff stats
path: root/013literal_string.cc
diff options
context:
space:
mode:
Diffstat (limited to '013literal_string.cc')
-rw-r--r--013literal_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/013literal_string.cc b/013literal_string.cc
index 78b15f18..569c8613 100644
--- a/013literal_string.cc
+++ b/013literal_string.cc
@@ -111,7 +111,7 @@ if (s.at(0) == '[') {
   s.erase(0, 1);
   strip_last(s);
   name = s;
-  types.push_back(0);
+  type = new type_tree(0);
   properties.push_back(pair<string, vector<string> >(name, vector<string>()));
   properties.back().second.push_back("literal-string");
   return;