summaryrefslogtreecommitdiff
path: root/src/token.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-08 04:30:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-08 04:30:05 -0400
commit2d5ad7dee89ebe9c014270882e44d3a7a8a626fd (patch)
tree20a6d2c34d86dcc9f68201dc1028f9053834ba7b /src/token.h
parentf7f5ed3d0fe96854f048609433fc68a3fb6fcf34 (diff)
downloadfork-ledger-2d5ad7dee89ebe9c014270882e44d3a7a8a626fd.tar.gz
fork-ledger-2d5ad7dee89ebe9c014270882e44d3a7a8a626fd.tar.bz2
fork-ledger-2d5ad7dee89ebe9c014270882e44d3a7a8a626fd.zip
Added support for value expression definitions.
Example: ] expr f(x) := x + 100 ] expr f(100) 200
Diffstat (limited to 'src/token.h')
-rw-r--r--src/token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/token.h b/src/token.h
index 47658749..55e222ba 100644
--- a/src/token.h
+++ b/src/token.h
@@ -73,6 +73,7 @@ struct expr_t::token_t : public noncopyable
GREATER, // >
GREATEREQ, // >=
+ DEFINE, // :=
ASSIGN, // =
MATCH, // =~
NMATCH, // !~