summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generate.cc b/src/generate.cc
index 725c4a6c..6d1bfb1a 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -171,7 +171,8 @@ void generate_posts_iterator::generate_commodity(std::ostream& out)
}
while (comm == "h" || comm == "m" || comm == "s" ||
comm == "and" || comm == "div" || comm == "false" ||
- comm == "or" || comm == "not" || comm == "true");
+ comm == "or" || comm == "not" || comm == "true" ||
+ comm == "if" || comm == "else");
out << comm;
}