Fix buffer overflow problem when reporting a syntax error with a very long
input line