cmd/compile/internal/gc: enable new parser by default

Change-Id: I3c784986755cfbbe1b8eb8da4d64227bd109a3b0
Reviewed-on: https://go-review.googlesource.com/27203
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Matthew Dempsky 2016-08-16 16:33:05 -07:00
parent 263a825b05
commit adda7ad295
8 changed files with 15 additions and 28 deletions

View file

@ -578,6 +578,7 @@ func (p *noder) structType(expr *syntax.StructType) *Node {
l = append(l, n)
}
p.lineno(expr)
n := p.nod(expr, OTSTRUCT, nil, nil)
n.List.Set(l)
return n