diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-16 04:02:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-16 04:02:56 -0400 |
commit | d0ea10f9a709de8f67b4c4eb1e763ab32309957f (patch) | |
tree | 4e968c574a1c84bbf23493b57bfe61e4ac852cf7 /src/textual.cc | |
parent | 63080a727540e5168d6eb230e86d06ad390dc6c5 (diff) | |
parent | f1523b5464924bf9d9987fce0cb3dbe4acda5a4b (diff) | |
download | fork-ledger-d0ea10f9a709de8f67b4c4eb1e763ab32309957f.tar.gz fork-ledger-d0ea10f9a709de8f67b4c4eb1e763ab32309957f.tar.bz2 fork-ledger-d0ea10f9a709de8f67b4c4eb1e763ab32309957f.zip |
Rewrote the interval_t class
The purpose of this rewrite is to greatly simplify the code that walks
through time periods, toward opening up the possibility in future of
allowing exclusions and logically combined periods, such as "weekly
except weekends". The new code is much simpler to use, as well as
simpler internally, and yet is more robust at the same time.
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc index 8f7388a2..0c92f7bb 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -592,8 +592,6 @@ void instance_t::period_xact_directive(char * line) try { std::auto_ptr<period_xact_t> pe(new period_xact_t(skip_ws(line + 1))); - if (! pe->period) - throw_(parse_error, _("Parsing time period '%1'") << line); reveal_context = false; |