lilt icon indicating copy to clipboard operation
lilt copied to clipboard

Suggestion for better errors

Open Quelklef opened this issue 7 years ago • 0 comments

When parsing, include a field range which is the range of text that the node takes.

For example, in

main: "banana"

the node for main would have the range [0, 13], from ma to a".

This would allow for much better error messages that come after parsing.

Quelklef avatar Jan 20 '18 03:01 Quelklef