compiler: correct parse of parenthesized select case
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Feb 2018 01:40:51 +0000 (01:40 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 5 Feb 2018 01:40:51 +0000 (01:40 +0000)
commit6ac0aed81501d236ed456b54a85684ac03dde713
tree66c3dca0610f5d50be8c2f5de46c6000fa5fd5a3
parent59597e373547a60ee635083f06ef322f8537f7c0
compiler: correct parse of parenthesized select case

    We used to mishandle `select { case (<-c): }` and friends.

    The test case for this is https://golang.org/cl/91657.

    Fixes golang/go#20923

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

From-SVN: r257374
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/parse.cc