summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-03 13:26:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-03 13:26:27 -0400
commit0f9d919367ada929daa6fc8d8a176a4ba63308b2 (patch)
tree71f2674b7785d0754572600791c7ca5d8c2869ed /src/token.h
parentd7b9f9e068d6817944854a31df1fc34258707a1a (diff)
downloadfork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.tar.gz
fork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.tar.bz2
fork-ledger-0f9d919367ada929daa6fc8d8a176a4ba63308b2.zip
Added Python-style if/else expression keywords
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/token.h b/src/token.h
index d0b65ded..7b5eec11 100644
--- a/src/token.h
+++ b/src/token.h
@@ -88,6 +88,9 @@ struct expr_t::token_t : public noncopyable
KW_OR, // |, ||, or
KW_MOD, // %
+ KW_IF, // if
+ KW_ELSE, // else
+
QUERY, // ?
COLON, // :