diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 13:26:27 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 13:26:27 -0400 |
commit | 0f9d919367ada929daa6fc8d8a176a4ba63308b2 (patch) | |
tree | 71f2674b7785d0754572600791c7ca5d8c2869ed /src/generate.cc | |
parent | d7b9f9e068d6817944854a31df1fc34258707a1a (diff) | |
download | fork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.tar.gz fork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.tar.bz2 fork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.zip |
Added Python-style if/else expression keywords
Diffstat (limited to 'src/generate.cc')
-rw-r--r-- | src/generate.cc | 3 |
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; } |