compiler: fix parsing of composite literals with omitted pointer types
commit67a2ed754eac77800dd4e4008b59917f95e02bd6
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jul 2018 18:25:27 +0000 (13 18:25 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jul 2018 18:25:27 +0000 (13 18:25 +0000)
tree182d2e07753d75755ca366199ec36b2e87ca3b0c
parent2e88eb47b349448afa8993947bb39968296b1d9d
compiler: fix parsing of composite literals with omitted pointer types

    The frontend could parse omitted pointer typess at the end of the
    type, but not in the middle, so code like []*[][]int{{{1}}} failed.

    Test case is in https://golang.org/cl/123477.

    Fixes golang/go#26340

    Reviewed-on: https://go-review.googlesource.com/123479

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262641 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc