summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-15 05:43:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:51 -0400
commitff43b1d135c3a1e43ed59d8d484e04f2ccffb3ee (patch)
treee2a6134051bc89a991e47076fef44ce9dfe378db /src/value.cc
parent3244c693f8db9afb1845f5e6de3cb1807e68003d (diff)
downloadfork-ledger-ff43b1d135c3a1e43ed59d8d484e04f2ccffb3ee.tar.gz
fork-ledger-ff43b1d135c3a1e43ed59d8d484e04f2ccffb3ee.tar.bz2
fork-ledger-ff43b1d135c3a1e43ed59d8d484e04f2ccffb3ee.zip
Started working on an XPath visitor class
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 3965dfbd..b3578ae9 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1565,6 +1565,9 @@ void value_t::print(std::ostream& out, const int first_width,
case AMOUNT:
case STRING:
case POINTER:
+ // jww (2007-05-14): I need a version of this print just for XPath
+ // expression, since amounts and strings need to be output with
+ // special syntax.
out << *this;
break;