aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2019-06-27 13:26:51 -0700
committerRobert Griesemer <gri@golang.org>2019-06-27 21:13:53 +0000
commitb97ec8e57f7a27eea76814bad5c74aa8f0617bb6 (patch)
tree5aa16ac959165f7dba012bee81faf85c12a74645 /api
parentf205ae3305d2b60076ee294113984595bae7c4da (diff)
downloadgo-b97ec8e57f7a27eea76814bad5c74aa8f0617bb6.tar.gz
go-b97ec8e57f7a27eea76814bad5c74aa8f0617bb6.zip
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>
Diffstat (limited to 'api')
-rw-r--r--api/go1.13.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/go1.13.txt b/api/go1.13.txt
index 0f5e3eeefd..16f11cf2b7 100644
--- a/api/go1.13.txt
+++ b/api/go1.13.txt
@@ -8021,9 +8021,6 @@ pkg syscall (windows-amd64), type SysProcAttr struct, ThreadAttributes *Security
pkg testing, func Init()
pkg testing, method (*B) ReportMetric(float64, string)
pkg testing, type BenchmarkResult struct, Extra map[string]float64
-pkg text/scanner, const AllowDigitSeparators = 1024
-pkg text/scanner, const AllowDigitSeparators ideal-int
-pkg text/scanner, const GoTokens = 2036
pkg text/template, method (ExecError) Unwrap() error
pkg time, method (Duration) Microseconds() int64
pkg time, method (Duration) Milliseconds() int64