diff options
author | John Wiegley <johnw@newartisans.com> | 2003-10-09 01:01:25 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-10-09 01:01:25 +0000 |
commit | 5f7710fe6cc83b5d70a8aaeb5ec705f5e21c8d08 (patch) | |
tree | c7d8578b68e96e01e585c981c1b1401556d4e62b /ledger.cc | |
parent | 36a541a74515ed7a099e0856279ac0fe12d6c3a0 (diff) | |
download | fork-ledger-5f7710fe6cc83b5d70a8aaeb5ec705f5e21c8d08.tar.gz fork-ledger-5f7710fe6cc83b5d70a8aaeb5ec705f5e21c8d08.tar.bz2 fork-ledger-5f7710fe6cc83b5d70a8aaeb5ec705f5e21c8d08.zip |
*** empty log message ***
Diffstat (limited to 'ledger.cc')
-rw-r--r-- | ledger.cc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -323,9 +323,13 @@ bool matches(const regexps_map& regexps, const std::string& str, // << (match ? "match" : "not match") << std::endl; } - if (match && ! definite && by_exclusion) { -// out << " Note: Matched by exclusion rule" << std::endl; - *by_exclusion = true; + if (by_exclusion) { + if (match && ! definite && by_exclusion) { +// out << " Note: Matched by exclusion rule" << std::endl; + *by_exclusion = true; + } else { + *by_exclusion = false; + } } // out << " Final result: " << (match ? "match" : "not match") |