Provide a reasonal span on an unexpected EOF
I propose that we let the scanner add one EOF at the end of the string of scanned tokens. This way, we know what the span is, when we encounter an unexpected end-of-file.
I propose that we let the scanner add one EOF at the end of the string of scanned tokens. This way, we know what the span is, when we encounter an unexpected end-of-file.