From 0f9d919367ada929daa6fc8d8a176a4ba63308b2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 3 Mar 2009 13:26:27 -0400 Subject: Added Python-style if/else expression keywords --- src/generate.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/generate.cc') 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; } -- cgit v1.2.3