Commit 39b186da authored by Robert Griesemer's avatar Robert Griesemer

go/parser: fix build (temporarily disable recent change)

R=golang-dev
CC=golang-dev
https://golang.org/cl/5752059
parent 67cbe943
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment