OSDN Git Service

compiler: Correct parse of for with possible composite literal.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 19:33:29 +0000 (19:33 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 19:33:29 +0000 (19:33 +0000)
commit459ed61dfbf723c326dc4fcf58fca63bcab9ee9a
tree83a4fbfe3b8c9d2fb3bcc05d1ddf1e5292e169a7
parent627a78f8f1e7f028fa739f3aaede146bd648e688
compiler: Correct parse of for with possible composite literal.

Fixes, e.g., "for first := true; first; first = false {".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187177 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/parse.h