summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
commitf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (patch)
tree95e2b7806dce0936edd69eca780d180d2ce3195d /src/textual.cc
parentadd6f6ca2a711e3337f83bd15be5a03e22842591 (diff)
downloadfork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.gz
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.bz2
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.zip
Cleanup whitespace
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/textual.cc b/src/textual.cc
index ecdf53d4..341271b6 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -129,7 +129,7 @@ namespace {
(in.peek() == ' ' || in.peek() == '\t'));
}
- void read_next_directive();
+ void read_next_directive();
#if defined(TIMELOG_SUPPORT)
void clock_in_directive(char * line, bool capitalized);
@@ -270,7 +270,7 @@ void instance_t::parse()
string err_context = error_context();
if (! err_context.empty())
std::cerr << err_context << std::endl;
-
+
if (! current_context.empty())
std::cerr << current_context << std::endl;
@@ -442,7 +442,7 @@ void instance_t::clock_in_directive(char * line, bool /*capitalized*/)
}
void instance_t::clock_out_directive(char * line, bool /*capitalized*/)
-{
+{
string datetime(line, 2, 19);
char * p = skip_ws(line + 22);
@@ -546,7 +546,7 @@ void instance_t::automated_xact_directive(char * line)
try {
query_t query;
keep_details_t keeper(true, true, true);
- expr_t::ptr_op_t expr =
+ expr_t::ptr_op_t expr =
query.parse_args(string_value(skip_ws(line + 1)).to_sequence(),
keeper, false, true);
@@ -831,7 +831,7 @@ void instance_t::alias_directive(char * line)
void instance_t::fixed_directive(char * line)
{
- if (optional<std::pair<commodity_t *, price_point_t> > price_point =
+ if (optional<std::pair<commodity_t *, price_point_t> > price_point =
commodity_pool_t::current_pool->parse_price_directive(trim_ws(line),
true)) {
context.state_stack.push_front(fixed_rate_t(price_point->first,