summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 08252cf4..243d2a6c 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -473,8 +473,12 @@ namespace {
return std::strcmp(buf, "and") == 0;
case 'd':
return std::strcmp(buf, "div") == 0;
+ case 'e':
+ return std::strcmp(buf, "else") == 0;
case 'f':
return std::strcmp(buf, "false") == 0;
+ case 'i':
+ return std::strcmp(buf, "if") == 0;
case 'o':
return std::strcmp(buf, "or") == 0;
case 'n':