summaryrefslogtreecommitdiff
path: root/csv.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-29 05:10:16 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-29 05:59:38 -0400
commit4518ea95408e2d5fe90a87159b88bb41734ec1dc (patch)
tree3026169803aaea580d8b452cb9bb8a569c92fb2a /csv.cc
parent63039ade9209bced70b3e4dbb673ad90286d310a (diff)
downloadledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.tar.gz
ledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.tar.bz2
ledger-4518ea95408e2d5fe90a87159b88bb41734ec1dc.zip
Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored. In the new scheme, this will be done by definition a function outside of the value expression logic, rather than the tight coupling between journal innards and value expressions that occurred in 2.x.
Diffstat (limited to 'csv.cc')
-rw-r--r--csv.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/csv.cc b/csv.cc
index d3c3faf7..1a0ed2f9 100644
--- a/csv.cc
+++ b/csv.cc
@@ -25,7 +25,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%D");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << ',';
@@ -33,7 +35,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%P");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << ',';
@@ -41,7 +45,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%A");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << ',';
@@ -49,7 +55,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%t");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << ',';
@@ -57,7 +65,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%T");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << ',';
@@ -94,7 +104,9 @@ void format_csv_transactions::operator()(transaction_t& xact)
{
format_t fmt("%N");
std::ostringstream str;
+#if 0
fmt.format(str, details_t(xact));
+#endif
write_escaped_string(out, str.str());
}
out << '\n';