Change-Id: I9cbbfcf55ce3cccb6f14b9ffe6777567dcdad9c9
Reviewed-on: https://go-review.googlesource.com/16179
Reviewed-by: Chris Manghane <cmang@golang.org>
f += Nconv(n.Right, 0)
}
- // Don't export "v = <N>" initializing statements, hope they're always
+ // Don't export "v = <N>" initializing statements, hope they're always
// preceded by the DCL which will be re-parsed and typecheck to reproduce
// the "v = <N>" again.
case OAS, OASWB:
return Vconv(n.Val(), 0)
- // Special case: name used as local variable in export.
+ // Special case: name used as local variable in export.
// _ becomes ~b%d internally; print as _ for export
case ONAME:
if (fmtmode == FExp || fmtmode == FErr) && n.Sym != nil && n.Sym.Name[0] == '~' && n.Sym.Name[1] == 'b' {
}
fallthrough
- //fallthrough
case OPACK, ONONAME:
return Sconv(n.Sym, 0)