Closed CAD97 closed 7 years ago
This should make the test MappingTest::mapSimpleFileWithPositions
pass where it failed before (due to the extra length on the
This is based off of the behavior that I observed while following along with your illustration with my own project, which showed this error.
Thanks a lot for this PR!
When the ANTLR Token is an, , we need to make sure that the length of the EOF token is counted as 0 and not 5.
#getText()
returns"<EOF>"
. So thatToken.endPoint()
calculates the correct end position when the token is an