Closed gilch closed 2 years ago
The remainder of a file with an unrecoverable SyntaxError
continues adding to the incomplete token, but because it can never be completed, it's possible to detect this in a .hebi file: we will have run out of text without completing the token. This version will save the last SyntaxError
during token construction and re-raise it in that case, which will point to the location of the problem.
Addressing #61.