diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-02 17:07:04 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-02 17:07:04 -0400 |
commit | 7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (patch) | |
tree | 3c51d4b555e0cadf65003d359f249be0ac495864 /token.cc | |
parent | e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde (diff) | |
download | fork-ledger-7b3c8c03c56fa90f8e110ed14ce3af27fb49b458.tar.gz fork-ledger-7b3c8c03c56fa90f8e110ed14ce3af27fb49b458.tar.bz2 fork-ledger-7b3c8c03c56fa90f8e110ed14ce3af27fb49b458.zip |
Changed the way that bare masks are parsed. There is still some coupling
here, albeit just through flag values. It needs to be changed, though.
Diffstat (limited to 'token.cc')
-rw-r--r-- | token.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -285,17 +285,17 @@ void expr_t::token_t::next(std::istream& in, const unsigned int pflags) length++; if (short_account_mask) - set_flags(TOKEN_SHORT_ACCOUNT_MASK); + set_flags(MASK_SHORT_ACCOUNT); else if (code_mask) - set_flags(TOKEN_CODE_MASK); + set_flags(MASK_CODE); else if (commodity_mask) - set_flags(TOKEN_COMMODITY_MASK); + set_flags(MASK_COMMODITY); else if (payee_mask) - set_flags(TOKEN_PAYEE_MASK); + set_flags(MASK_PAYEE); else if (note_mask) - set_flags(TOKEN_NOTE_MASK); + set_flags(MASK_NOTE); else - set_flags(TOKEN_ACCOUNT_MASK); + set_flags(MASK_ACCOUNT); kind = MASK; value.set_string(buf); |