Open lierdakil opened 2 years ago
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.
The change looks good to me, but can you please add tests that exercise all the error conditions?
I've added a couple tests.
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.