summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-12 04:32:02 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-05-12 04:32:02 -0400
commit5f1a858941adc17fcf714c7b6b176aeae727c436 (patch)
tree846efb794cb76fdc4c63fa4c6ab554b83af49f07 /src/generate.cc
parent7ca8149ec5c7fa88d98df83e6260210372223036 (diff)
parentcb047c013df0eaf1c5e9edd67bbb6b6fa537d2a0 (diff)
downloadfork-ledger-5f1a858941adc17fcf714c7b6b176aeae727c436.tar.gz
fork-ledger-5f1a858941adc17fcf714c7b6b176aeae727c436.tar.bz2
fork-ledger-5f1a858941adc17fcf714c7b6b176aeae727c436.zip
Merge branch 'next'
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generate.cc b/src/generate.cc
index c1eb1d14..9b4c2ee7 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -171,10 +171,10 @@ void generate_posts_iterator::generate_commodity(std::ostream& out)
generate_string(buf, six_gen(), true);
comm = buf.str();
}
- while (comm == "h" || comm == "m" || comm == "s" ||
- comm == "and" || comm == "div" || comm == "false" ||
- comm == "or" || comm == "not" || comm == "true" ||
- comm == "if" || comm == "else");
+ while (comm == "h" || comm == "m" || comm == "s" || comm == "and" ||
+ comm == "any" || comm == "all" || comm == "div" ||
+ comm == "false" || comm == "or" || comm == "not" ||
+ comm == "true" || comm == "if" || comm == "else");
out << comm;
}