summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
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())