Skip to content

Fix panics on escape sequences truncated at EOF - #421

Open
makenowjust wants to merge 4 commits into
cloudspannerecosystem:mainfrom
makenowjust:MakeNowJust/fix-eof-error-position
Open

Fix panics on escape sequences truncated at EOF#421
makenowjust wants to merge 4 commits into
cloudspannerecosystem:mainfrom
makenowjust:MakeNowJust/fix-eof-error-position

Conversation

@makenowjust

Copy link
Copy Markdown
Collaborator

Fixes #417.

continues in inner loops to handle escape sequences need labels and end Pos values of errors should not exceed len(f.Buffer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Lexer error positions can point past EOF, causing panic in token.File.Position

1 participant