about summary refs log tree commit diff stats
path: root/015literal_noninteger.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 /015literal_noninteger.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 '015literal_noninteger.cc')
-rw-r--r--015literal_noninteger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/015literal_noninteger.cc b/015literal_noninteger.cc
index 497b4676..4cea4104 100644
--- a/015literal_noninteger.cc
+++ b/015literal_noninteger.cc
@@ -10,7 +10,7 @@ recipe main [
 :(after "Parsing reagent(string s)")
 if (is_noninteger(s)) {
   name = s;
-  type = new type_tree(0);
+  type = new type_tree("literal-number", 0);
   properties.push_back(pair<string, string_tree*>(name, new string_tree("literal-number")));
   set_value(to_double(s));
   return;