summaryrefslogtreecommitdiff
path: root/src/predicate.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-06 01:54:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-06 01:54:18 -0500
commitb2e9cf4ebe40675cb183789791de51a6ee76a618 (patch)
tree07775331184647fcb5941ce1629957023cb90637 /src/predicate.h
parent5e3f3d7f4730dd2990b6b56352e4a09cdde9a234 (diff)
downloadfork-ledger-b2e9cf4ebe40675cb183789791de51a6ee76a618.tar.gz
fork-ledger-b2e9cf4ebe40675cb183789791de51a6ee76a618.tar.bz2
fork-ledger-b2e9cf4ebe40675cb183789791de51a6ee76a618.zip
Added disabled feature: "date" keyword in queries
Diffstat (limited to 'src/predicate.h')
-rw-r--r--src/predicate.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/predicate.h b/src/predicate.h
index 577e872a..739356b6 100644
--- a/src/predicate.h
+++ b/src/predicate.h
@@ -135,10 +135,11 @@ public:
TOK_OR,
TOK_EQ,
- TOK_ACCOUNT,
- TOK_PAYEE,
+ TOK_DATE,
TOK_CODE,
+ TOK_PAYEE,
TOK_NOTE,
+ TOK_ACCOUNT,
TOK_META,
TOK_EXPR,
@@ -184,10 +185,11 @@ public:
case TOK_AND: return "TOK_AND";
case TOK_OR: return "TOK_OR";
case TOK_EQ: return "TOK_EQ";
- case TOK_ACCOUNT: return "TOK_ACCOUNT";
- case TOK_PAYEE: return "TOK_PAYEE";
+ case TOK_DATE: return "TOK_DATE";
case TOK_CODE: return "TOK_CODE";
+ case TOK_PAYEE: return "TOK_PAYEE";
case TOK_NOTE: return "TOK_NOTE";
+ case TOK_ACCOUNT: return "TOK_ACCOUNT";
case TOK_META: return "TOK_META";
case TOK_EXPR: return "TOK_EXPR";
case TERM: return string("TERM(") + *value + ")";
@@ -203,10 +205,11 @@ public:
case TOK_AND: return "and";
case TOK_OR: return "or";
case TOK_EQ: return "=";
- case TOK_ACCOUNT: return "account";
- case TOK_PAYEE: return "payee";
+ case TOK_DATE: return "date";
case TOK_CODE: return "code";
+ case TOK_PAYEE: return "payee";
case TOK_NOTE: return "note";
+ case TOK_ACCOUNT: return "account";
case TOK_META: return "meta";
case TOK_EXPR: return "expr";