compiler: Handle newlines in general comments.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 2015 22:45:32 +0000 (22:45 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 2015 22:45:32 +0000 (22:45 +0000)
commit39867fd3687167749dc96212cf89bce0ab55ce9a
treea24af8ccbfaeeeb01a92f6f7b3154cfa428eebc4
parentdaa5a8a3cf9b04cd9af5544c61e12e6dca14f870
compiler: Handle newlines in general comments.

    On comments, the specification says
    (http://golang.org/ref/spec#Comments): General comments start with the
    character sequence /* and continue through the character sequence */.
    A general comment containing one or more newlines acts like a newline,
    otherwise it acts like a space.

    Fixes golang/go#11528.

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

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