summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-03 16:05:04 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-03 16:05:04 -0400
commite2c30cf6e4e8c0d38f129e3e209954bf1bfbe602 (patch)
tree118ab3ef92756dd208ece3c35d4b8ba4d6d47271 /src/token.cc
parent098e3b0043c275cfe195be1c592baf5716ab73e5 (diff)
downloadfork-ledger-e2c30cf6e4e8c0d38f129e3e209954bf1bfbe602.tar.gz
fork-ledger-e2c30cf6e4e8c0d38f129e3e209954bf1bfbe602.tar.bz2
fork-ledger-e2c30cf6e4e8c0d38f129e3e209954bf1bfbe602.zip
Added ; as a sequencing operator in valexprs
Diffstat (limited to 'src/token.cc')
-rw-r--r--src/token.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/token.cc b/src/token.cc
index 11fda7d7..deaa777e 100644
--- a/src/token.cc
+++ b/src/token.cc
@@ -368,6 +368,11 @@ void expr_t::token_t::next(std::istream& in, const uint_least8_t pflags)
kind = COMMA;
break;
+ case ';':
+ in.get(c);
+ kind = SEMI;
+ break;
+
default: {
istream_pos_type pos = in.tellg();