Skip to content

Conversation

@lierdakil
Copy link
Contributor

Allow partial parses in 'parseEscapes', but use a greedy parser. Show
the character escape that failed to parse and input position in the
error message.

Allow partial parses in 'parseEscapes', but use a greedy parser. Show
the character escape that failed to parse and input position in the
error message.
@lierdakil lierdakil requested a review from kirelagin December 19, 2021 08:49
Copy link
Contributor

@kirelagin kirelagin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me, but can you please add tests that exercise all the error conditions?

@lierdakil
Copy link
Contributor Author

The change looks good to me, but can you please add tests that exercise all the error conditions?

I've added a couple tests.

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.

2 participants