Skip to content

Commit 3319ea9

Browse files
committed
cmd/compile/internal/gc: fixed comments (cosmetic change)
Change-Id: I9cbbfcf55ce3cccb6f14b9ffe6777567dcdad9c9 Reviewed-on: https://go-review.googlesource.com/16179 Reviewed-by: Chris Manghane <[email protected]>
1 parent beedb1e commit 3319ea9

File tree

1 file changed

+2
-3
lines changed
  • src/cmd/compile/internal/gc

1 file changed

+2
-3
lines changed

src/cmd/compile/internal/gc/fmt.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ func stmtfmt(n *Node) string {
816816
f += Nconv(n.Right, 0)
817817
}
818818

819-
// Don't export "v = <N>" initializing statements, hope they're always
819+
// Don't export "v = <N>" initializing statements, hope they're always
820820
// preceded by the DCL which will be re-parsed and typecheck to reproduce
821821
// the "v = <N>" again.
822822
case OAS, OASWB:
@@ -1127,7 +1127,7 @@ func exprfmt(n *Node, prec int) string {
11271127

11281128
return Vconv(n.Val(), 0)
11291129

1130-
// Special case: name used as local variable in export.
1130+
// Special case: name used as local variable in export.
11311131
// _ becomes ~b%d internally; print as _ for export
11321132
case ONAME:
11331133
if (fmtmode == FExp || fmtmode == FErr) && n.Sym != nil && n.Sym.Name[0] == '~' && n.Sym.Name[1] == 'b' {
@@ -1149,7 +1149,6 @@ func exprfmt(n *Node, prec int) string {
11491149
}
11501150
fallthrough
11511151

1152-
//fallthrough
11531152
case OPACK, ONONAME:
11541153
return Sconv(n.Sym, 0)
11551154

0 commit comments

Comments
 (0)