summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-02 10:18:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-02 10:18:42 -0600
commit8b9b9e9e723cc24a030f0cb5ae101d0978a0aa81 (patch)
tree80526a13160d6d02fc2f996e54d3effa14cf6415 /src/token.cc
parent38c6953e105247f2ebd43e1039e48edec8bf1ecc (diff)
downloadfork-ledger-8b9b9e9e723cc24a030f0cb5ae101d0978a0aa81.tar.gz
fork-ledger-8b9b9e9e723cc24a030f0cb5ae101d0978a0aa81.tar.bz2
fork-ledger-8b9b9e9e723cc24a030f0cb5ae101d0978a0aa81.zip
Removed an old comment
Diffstat (limited to 'src/token.cc')
-rw-r--r--src/token.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/token.cc b/src/token.cc
index 9449d9b7..57b97eca 100644
--- a/src/token.cc
+++ b/src/token.cc
@@ -415,9 +415,6 @@ void expr_t::token_t::next(std::istream& in, const parse_flags_t& pflags)
try {
amount_t temp;
if (! temp.parse(in, parse_flags.plus_flags(PARSE_SOFT_FAIL))) {
- // If the amount had no commodity, it must be an unambiguous
- // variable reference
-
in.clear();
in.seekg(pos, std::ios::beg);
if (in.fail())