1
0
mirror of https://github.com/golang/go synced 2024-11-17 10:24:48 -07:00
go/src/text/scanner
Robert Griesemer b97ec8e57f text/scanner: remove AllowDigitSeparator flag again
The scanner was changed to accept the new Go number literal syntax
of which separators are a part. Making them opt-in is inconsistent
with the rest of the changes. For comparison, the strconv package
also accepts the new number literals including separators with the
various conversion routines, if no explicit number base is given.

Updates #28493.

Change-Id: Ifaae2225a9565364610813658bfe692901dd3ccd
Reviewed-on: https://go-review.googlesource.com/c/go/+/184080
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2019-06-27 21:13:53 +00:00
..
example_test.go
scanner_test.go text/scanner: remove AllowDigitSeparator flag again 2019-06-27 21:13:53 +00:00
scanner.go text/scanner: remove AllowDigitSeparator flag again 2019-06-27 21:13:53 +00:00