diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-07 01:53:53 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-07 01:53:53 -0500 |
commit | c0fa144ca586bfc3d48d7f2512bb90ebdde148df (patch) | |
tree | 98e03564cf1e4297723edf5d7576290baa12df2b /src/textual.cc | |
parent | 6a0daf634fa76ba61ea79e55e4d3f213aa27e306 (diff) | |
download | fork-ledger-c0fa144ca586bfc3d48d7f2512bb90ebdde148df.tar.gz fork-ledger-c0fa144ca586bfc3d48d7f2512bb90ebdde148df.tar.bz2 fork-ledger-c0fa144ca586bfc3d48d7f2512bb90ebdde148df.zip |
Added "last_checkout_cleared" valexpr variable
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textual.cc b/src/textual.cc index d0e4dad2..011e45b7 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -431,7 +431,7 @@ void instance_t::read_next_directive(bool& error_flag) #if defined(TIMELOG_SUPPORT) -void instance_t::clock_in_directive(char * line, bool /*capitalized*/) +void instance_t::clock_in_directive(char * line, bool capitalized) { string datetime(line, 2, 19); @@ -452,7 +452,7 @@ void instance_t::clock_in_directive(char * line, bool /*capitalized*/) position.end_line = context.linenum; position.sequence = context.sequence++; - time_xact_t event(position, parse_datetime(datetime), + time_xact_t event(position, parse_datetime(datetime), capitalized, p ? top_account()->find_account(p) : NULL, n ? n : "", end ? end : ""); @@ -460,7 +460,7 @@ void instance_t::clock_in_directive(char * line, bool /*capitalized*/) timelog.clock_in(event); } -void instance_t::clock_out_directive(char * line, bool /*capitalized*/) +void instance_t::clock_out_directive(char * line, bool capitalized) { string datetime(line, 2, 19); @@ -481,7 +481,7 @@ void instance_t::clock_out_directive(char * line, bool /*capitalized*/) position.end_line = context.linenum; position.sequence = context.sequence++; - time_xact_t event(position, parse_datetime(datetime), + time_xact_t event(position, parse_datetime(datetime), capitalized, p ? top_account()->find_account(p) : NULL, n ? n : "", end ? end : ""); |