parse: Have lexer position be current instead of future
When running next(), self.pos and friends would actually be in reference
to the next call to next(), not the current one.

This is confusing, so change it to make sense.
1 parent 84081d9 commit d3934f47c65c34876ff6ddefc911c8719b935bbb
@Jookia Jookia authored on 25 Oct 2021
Showing 1 changed file
View
src/parse.py