diff options
Diffstat (limited to 'src/cmd/compile/internal/gc/mpfloat.go')
| -rw-r--r-- | src/cmd/compile/internal/gc/mpfloat.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmd/compile/internal/gc/mpfloat.go b/src/cmd/compile/internal/gc/mpfloat.go index d15f26784e..401aef319d 100644 --- a/src/cmd/compile/internal/gc/mpfloat.go +++ b/src/cmd/compile/internal/gc/mpfloat.go @@ -179,11 +179,6 @@ func (a *Mpflt) Neg() { } func (a *Mpflt) SetString(as string) { - // TODO(gri) why is this needed? - for len(as) > 0 && (as[0] == ' ' || as[0] == '\t') { - as = as[1:] - } - f, _, err := a.Val.Parse(as, 0) if err != nil { yyerror("malformed constant: %s (%v)", as, err) |
