summaryrefslogtreecommitdiff
path: root/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-02 17:07:04 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-02 17:07:04 -0400
commit7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (patch)
tree3c51d4b555e0cadf65003d359f249be0ac495864 /token.h
parente52a6a9bd8e2bbf3a497696eed735eb00a8b9dde (diff)
downloadledger-7b3c8c03c56fa90f8e110ed14ce3af27fb49b458.tar.gz
ledger-7b3c8c03c56fa90f8e110ed14ce3af27fb49b458.tar.bz2
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.h')
-rw-r--r--token.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/token.h b/token.h
index eb5b8d46..73833a2a 100644
--- a/token.h
+++ b/token.h
@@ -38,13 +38,6 @@ namespace ledger {
struct expr_t::token_t : public noncopyable, public supports_flags<>
{
-#define TOKEN_SHORT_ACCOUNT_MASK 0x01
-#define TOKEN_CODE_MASK 0x02
-#define TOKEN_COMMODITY_MASK 0x04
-#define TOKEN_PAYEE_MASK 0x08
-#define TOKEN_NOTE_MASK 0x10
-#define TOKEN_ACCOUNT_MASK 0x20
-
enum kind_t {
VALUE, // any kind of literal value
IDENT, // [A-Za-z_][-A-Za-z0-9_:]*