diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 6 |
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"; |