parse: Account for EOF when checking for whitespace
When parsing a file that doesn't end with whitespace (like a new line),
the parser would choke on having no symbols left. Fix that.

Fixes: 1519cef
1 parent 2b7e533 commit c61042cfb54b752d94f7a8f97cdb019deda8bb6b
@Jookia Jookia authored 22 days ago
Showing 2 changed files
View
src/parse.py
View
tests/test_parse_regress.py 0 → 100644