From: Robert Griesemer Date: Tue, 6 Mar 2012 19:23:27 +0000 (-0800) Subject: go/parser: fix build (temporarily disable recent change) X-Git-Tag: weekly.2012-03-13~182 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=39b186da6c17c96a0370273e2a8b65c389331ae8;p=gostls13.git go/parser: fix build (temporarily disable recent change) R=golang-dev CC=golang-dev https://golang.org/cl/5752059 --- diff --git a/src/pkg/go/parser/parser.go b/src/pkg/go/parser/parser.go index cc3923bbfc..4a391454ae 100644 --- a/src/pkg/go/parser/parser.go +++ b/src/pkg/go/parser/parser.go @@ -380,11 +380,13 @@ func (p *parser) seesComma(context string) bool { if p.tok == token.COMMA { return true } - if p.tok == token.SEMICOLON && p.lit == "\n" { - p.error(p.pos, "missing ',' before newline in "+context) - return true // "insert" the comma and continue + /* + if p.tok == token.SEMICOLON && p.lit == "\n" { + p.error(p.pos, "missing ',' before newline in "+context) + return true // "insert" the comma and continue - } + } + */ return false }