1
0
mirror of https://github.com/golang/go synced 2024-11-25 11:07:59 -07:00

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

R=golang-dev
CC=golang-dev
https://golang.org/cl/5752059
This commit is contained in:
Robert Griesemer 2012-03-06 11:23:27 -08:00
parent 67cbe9431f
commit 39b186da6c

View File

@ -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
}
*/
return false
}