diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 01:11:31 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 01:11:31 -0400 |
commit | f8681e482e10d4fcb6e53faf0bf658652457928f (patch) | |
tree | daa7a7a1eb228a7181b439d050458c7cba2d003c /src | |
parent | 6ccc466a08ff32d5a97bdfae5ec19e28451bb72a (diff) | |
download | fork-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.cc | 4 |
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()); } |