summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-09-06 00:33:03 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-09-06 00:56:00 -0400
commit84780270f9bc427f6edcd295b68ffcf6b911baf6 (patch)
tree7b151bbc02ab30bad5c3636cfefd4d5cd4a419da /src/token.h
parente162455ebb545ea33580e58f52ebe424ef9e68fa (diff)
downloadfork-ledger-84780270f9bc427f6edcd295b68ffcf6b911baf6.tar.gz
fork-ledger-84780270f9bc427f6edcd295b68ffcf6b911baf6.tar.bz2
fork-ledger-84780270f9bc427f6edcd295b68ffcf6b911baf6.zip
Added initial support for lambda functions
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h
index 28e29752..13a799cb 100644
--- a/src/token.h
+++ b/src/token.h
@@ -56,6 +56,8 @@ struct expr_t::token_t : public noncopyable
LPAREN, // (
RPAREN, // )
+ LBRACE, // {
+ RBRACE, // }
EQUAL, // ==
NEQUAL, // !=
@@ -64,7 +66,6 @@ struct expr_t::token_t : public noncopyable
GREATER, // >
GREATEREQ, // >=
- DEFINE, // :=
ASSIGN, // =
MATCH, // =~
NMATCH, // !~
@@ -72,6 +73,7 @@ struct expr_t::token_t : public noncopyable
PLUS, // +
STAR, // *
SLASH, // /
+ ARROW, // ->
KW_DIV, // div
EXCLAM, // !, not