summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-10-16 18:13:18 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-10-16 18:13:18 (GMT)
commit4159e9dc5f140c659725f97a5f5cd284a47affd5 (patch)
tree2ea52792e5f084ac2199425599ae2d6632483866 /src/value.cc
parentc0592dc3b833a91457e28a6d80bcc58c1bb7938d (diff)
parentb12b0861756d99c876a243ad5bda85da1a066ac5 (diff)
Merge remote branch 'upstream/visitortests' into visitortests
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/value.cc b/src/value.cc
index 685bf81..6685594 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -352,19 +352,19 @@ std::string Value::toString() const
stream << ']';
break;
case RANGE:
- stream << "[ "
+ stream << '['
<< this->range_begin
<< " : "
<< this->range_step
<< " : "
<< this->range_end
- << " ]";
+ << ']';
break;
case NUMBER:
stream << this->num;
break;
case BOOL:
- stream << this->b;
+ stream << (this->b ? "true" : "false");
break;
default:
stream << "undef";
contact: Jan Huwald // Impressum