go/scanner: removed scanner/internal-only uses of token.Position
First step towards a more light-weight implementation of token.Position: - only use token.Position for reporting token and error position - use offsets only for scanner control - no interface changes yet R=rsc CC=golang-dev https://golang.org/cl/2825041
Showing
This diff is collapsed.
Please register or sign in to comment