aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/syntax/printer_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2018-01-16 16:17:54 -0800
committerRobert Griesemer <gri@golang.org>2018-02-12 21:43:41 +0000
commit7ac393a3f208ab72263a245b80e22ad62abae565 (patch)
tree851cf249f826d564191229ad9c6f60ba8e5e9582 /src/cmd/compile/internal/syntax/printer_test.go
parent5408d799501432aa247307604df33c622d6a73d3 (diff)
downloadgo-7ac393a3f208ab72263a245b80e22ad62abae565.tar.gz
go-7ac393a3f208ab72263a245b80e22ad62abae565.zip
go/parser: improved error message for unexpected literals
R=go1.11 This is a follow up for #11377 which reported that an error like /tmp/xx.go:9:6: expected '(', found 'IDENT' F1 shouldn't print 'IDENT', as it's just an internal detail. The relevant change wasn't made in the original fix, so here it is. For #11377. Change-Id: Ib76957d86b88e3e63646fbe4abf03a3b9d045139 Reviewed-on: https://go-review.googlesource.com/87900 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/syntax/printer_test.go')
0 files changed, 0 insertions, 0 deletions