summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 16:34:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 16:34:34 -0400
commit6f7f87699c509131ab5ffff330ba77abbd58e829 (patch)
tree17960cb9541037bb05abed7c0b8b6cd949e72b05 /src/token.h
parentfcd7f4f73b50ec02ec1f501a8ebde502c6736850 (diff)
downloadfork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.tar.gz
fork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.tar.bz2
fork-ledger-6f7f87699c509131ab5ffff330ba77abbd58e829.zip
Parse '/' in an operator context as "div"
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h
index 55e222ba..d0b65ded 100644
--- a/src/token.h
+++ b/src/token.h
@@ -80,7 +80,8 @@ struct expr_t::token_t : public noncopyable
MINUS, // -
PLUS, // +
STAR, // *
- KW_DIV, // /
+ SLASH, // /
+ KW_DIV, // div
EXCLAM, // !, not
KW_AND, // &, &&, and