Closed glyn closed 4 years ago
See https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_quoted_string_and_unescaped_single_quote.html and https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_two_literals_separated_by_dot.html.
This issue may require making the lexemes more fine-grained so that errors can be given more accurate context.
I deferred making the lexer more fine-grained, but beefed it up substantially in the relevant area.
See https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_quoted_string_and_unescaped_single_quote.html and https://cburgmer.github.io/json-path-comparison/results/bracket_notation_with_two_literals_separated_by_dot.html.