summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-16 01:11:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-16 01:11:31 -0400
commitf8681e482e10d4fcb6e53faf0bf658652457928f (patch)
treedaa7a7a1eb228a7181b439d050458c7cba2d003c /src
parent6ccc466a08ff32d5a97bdfae5ec19e28451bb72a (diff)
downloadfork-ledger-f8681e482e10d4fcb6e53faf0bf658652457928f.tar.gz
fork-ledger-f8681e482e10d4fcb6e53faf0bf658652457928f.tar.bz2
fork-ledger-f8681e482e10d4fcb6e53faf0bf658652457928f.zip
Print <POINTER> if value_t::is_pointer()
Diffstat (limited to 'src')
-rw-r--r--src/value.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 9a7647e1..03984fd8 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1314,6 +1314,10 @@ void value_t::print(std::ostream& out,
as_balance().print(out, first_width, latter_width);
break;
+ case POINTER:
+ out << "<POINTER>";
+ break;
+
default:
throw_(value_error, "Cannot print " << label());
}