summaryrefslogtreecommitdiff
path: root/cpp/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/object.cpp')
-rw-r--r--cpp/object.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/object.cpp b/cpp/object.cpp
index 45cfb5f..52b6ad0 100644
--- a/cpp/object.cpp
+++ b/cpp/object.cpp
@@ -41,6 +41,10 @@ std::ostream& operator<< (std::ostream& s, const object o)
s << o.via.i64;
break;
+ case type::DOUBLE:
+ s << o.via.dec;
+ break;
+
case type::RAW:
(s << '"').write(o.via.ref.ptr, o.via.ref.size) << '"';
break;