compiler: improve error messages for expected curly brace
authorIan Lance Taylor <iant@golang.org>
Sun, 29 Nov 2020 02:51:05 +0000 (18:51 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 30 Nov 2020 20:14:23 +0000 (12:14 -0800)
commit5ba975e6680cc5f9c2be7ee34b1cacdba3eb3347
tree3c1a0b173e9fb504001b6f3480ea6726c48ec4dd
parentc7f272e05e1cf8c7d7caefe5ee542845cf4cc7c8
compiler: improve error messages for expected curly brace

For golang/go#17328

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273890
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/parse.cc
gcc/testsuite/go.test/test/syntax/semi1.go
gcc/testsuite/go.test/test/syntax/semi3.go
gcc/testsuite/go.test/test/syntax/semi4.go