mirror of https://github.com/golang/go.git
For syntax errors in various (syntactic) lists, instead of reporting a set of "expected" tokens (which may be incomplete), provide context and mention "possibly missing" tokens. The result is a friendlier and more accurate error message. Fixes #49205. Change-Id: I38ae7bf62febfe790075e62deb33ec8c17d64476 Reviewed-on: https://go-review.googlesource.com/c/go/+/396914 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> |
||
|---|---|---|
| .. | ||
| chan.go | ||
| chan1.go | ||
| composite.go | ||
| ddd.go | ||
| else.go | ||
| if.go | ||
| import.go | ||
| initvar.go | ||
| semi1.go | ||
| semi2.go | ||
| semi3.go | ||
| semi4.go | ||
| semi5.go | ||
| semi6.go | ||
| semi7.go | ||
| topexpr.go | ||
| typesw.go | ||
| vareq.go | ||
| vareq1.go | ||