- Needed a shift counter, rather than a read counter, as ::token was
  lexing '-10d' into '-' and '-10d', which when evaluated is '--10d',
  which yields 10d.
This commit is contained in:
Paul Beckingham
2014-06-10 15:42:21 -04:00
parent 3c0a17c195
commit 2554b29041
2 changed files with 17 additions and 15 deletions

View File

@@ -87,6 +87,7 @@ private:
private:
const std::string _input;
std::string::size_type _i;
std::string::size_type _shift_counter;
int _n0;
int _n1;
int _n2;