text/scanner: better error message if no error handler is installed
This is reverting golang.org/cl/19622 and introducing "<input>" as filename if no filename is specified. Fixes #15813. Change-Id: Iafc74b789fa33f48ee639c42d4aebc6f06435f95 Reviewed-on: https://go-review.googlesource.com/23402Reviewed-by: Russ Cox <rsc@golang.org>
Showing
Please register or sign in to comment