diff options
| author | Jan Ziak <0xe2.0x9a.0x9b@gmail.com> | 2012-05-22 13:53:38 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-05-22 13:53:38 -0400 |
| commit | fbaf59bf1ede6d8f42ab0d8e0f238582de5f9888 (patch) | |
| tree | f309c2433ff49b8dc280e95f45cc68672d1e023a /src/pkg | |
| parent | 15436da232d83674b1e58efd6310ca38310b2dc4 (diff) | |
| download | go-fbaf59bf1ede6d8f42ab0d8e0f238582de5f9888.tar.xz | |
cmd/gc: export constants in hexadecimal
R=golang-dev, r, rsc, iant, remyoudompheng, dave
CC=golang-dev
https://golang.org/cl/6206077
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/exp/types/gcimporter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/types/gcimporter.go b/src/pkg/exp/types/gcimporter.go index 07ab087abf..af1eef804a 100644 --- a/src/pkg/exp/types/gcimporter.go +++ b/src/pkg/exp/types/gcimporter.go @@ -664,7 +664,7 @@ func (p *gcParser) parseInt() (sign, val string) { func (p *gcParser) parseNumber() Const { // mantissa sign, val := p.parseInt() - mant, ok := new(big.Int).SetString(sign+val, 10) + mant, ok := new(big.Int).SetString(sign+val, 0) assert(ok) if p.lit == "p" { |
