I discovered a type of invalid syntax which causes an out of bound exception in the parser, instead of a nice error with line number reference etc. This fixes it nicely enough for me (although character reference and line column number would be nicer).
I discovered a type of invalid syntax which causes an out of bound exception in the parser, instead of a nice error with line number reference etc. This fixes it nicely enough for me (although character reference and line column number would be nicer).
Not sure how is should do the test though.
Closes #6