summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-11 16:03:50 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-11 17:02:25 -0400
commitdea2aed0b509734ec4e1cd163ac2a4f013000da2 (patch)
tree7908da76c67ae5172882306a319bf26df81b73b4 /src/precmd.cc
parentd580079df892c30d023b3211d6c4611c17b11f8f (diff)
downloadfork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.gz
fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.bz2
fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.zip
Untabified all source files
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index e545a783..43a9835c 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -48,27 +48,27 @@ namespace {
{
string str;
{
- std::ostringstream buf;
+ std::ostringstream buf;
- buf << "2004/05/27 Book Store\n"
- << " ; This note applies to all postings. :SecondTag:\n"
- << " Expenses:Books 20 BOOK @ $10\n"
- << " ; Metadata: Some Value\n"
- << " ; :ExampleTag:\n"
- << " ; Here follows a note describing the posting.\n"
- << " Liabilities:MasterCard $-200.00\n";
+ buf << "2004/05/27 Book Store\n"
+ << " ; This note applies to all postings. :SecondTag:\n"
+ << " Expenses:Books 20 BOOK @ $10\n"
+ << " ; Metadata: Some Value\n"
+ << " ; :ExampleTag:\n"
+ << " ; Here follows a note describing the posting.\n"
+ << " Liabilities:MasterCard $-200.00\n";
- str = buf.str();
+ str = buf.str();
}
std::ostream& out(report.output_stream);
out << _("--- Context is first posting of the following transaction ---")
- << std::endl << str << std::endl;
+ << std::endl << str << std::endl;
{
- std::istringstream in(str);
- report.session.journal->parse(in, report.session);
- report.session.journal->clear_xdata();
+ std::istringstream in(str);
+ report.session.journal->parse(in, report.session);
+ report.session.journal->clear_xdata();
}
}
xact_t * first = report.session.journal->xacts.front();
@@ -193,7 +193,7 @@ value_t query_command(call_scope_t& args)
if (query.tokens_remaining()) {
out << std::endl << _("====== Display predicate ======")
- << std::endl << std::endl;
+ << std::endl << std::endl;
query.parse_again();