summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-04 03:40:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-04 03:40:39 -0400
commita4a45cb4d61e028a19be3fb5be889e62dc83214e (patch)
tree533f95bd76cf513547d24499194bed9ab34912b4 /src/commodity.cc
parentb7e8cb9d544af0f054093092afa4d0820aa4a453 (diff)
downloadfork-ledger-a4a45cb4d61e028a19be3fb5be889e62dc83214e.tar.gz
fork-ledger-a4a45cb4d61e028a19be3fb5be889e62dc83214e.tar.bz2
fork-ledger-a4a45cb4d61e028a19be3fb5be889e62dc83214e.zip
any and all do not need to be reserved tokens
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index c2fc0935..2ed6553b 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -418,9 +418,7 @@ namespace {
{
switch (buf[0]) {
case 'a':
- return (std::strcmp(buf, "and") == 0 ||
- std::strcmp(buf, "any") == 0 ||
- std::strcmp(buf, "all") == 0);
+ return std::strcmp(buf, "and") == 0;
case 'd':
return std::strcmp(buf, "div") == 0;
case 'e':