cmd/compile: a couple of minor comment fixes

Change-Id: If1d08a84c9295816489b1cfdd031ba12892ae963
Reviewed-on: https://go-review.googlesource.com/31598
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2016-10-20 15:27:26 -07:00
parent 584e3ea258
commit 7ea5829717
2 changed files with 4 additions and 9 deletions

View file

@ -30,7 +30,7 @@ type Pkg struct {
// an object declared within a package, but Syms are also used to name internal
// synthesized objects.
//
// As a special exception, field and method names that are exported use the Sym
// As an exception, field and method names that are exported use the Sym
// associated with localpkg instead of the package that declared them. This
// allows using Sym pointer equality to test for Go identifier uniqueness when
// handling selector expressions.
@ -42,7 +42,7 @@ type Sym struct {
// saved and restored by dcopy
Pkg *Pkg
Name string // variable name
Name string // object name
Def *Node // definition: ONAME OTYPE OPACK or OLITERAL
Block int32 // blocknumber to catch redeclaration
Lastlineno int32 // last declaration for diagnostic