go/src
Robert Griesemer 42e0cc6046 go/scanner: accept new Go2 number literals
This CL introduces go/scanner support for the new binary and octal integer
literals, hexadecimal floats, and digit separators for all number literals.
The new code is closely mirroring the respective code for number literals in
cmd/compile/internal/syntax/scanner.go.

R=Go1.13

Updates #12711.
Updates #19308.
Updates #28493.
Updates #29008.

Change-Id: I5315c6aaa7cfc41a618296be20e3acd5114d6b3c
Reviewed-on: https://go-review.googlesource.com/c/159997
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2019-02-11 23:23:32 +00:00
..
archive archive/zip: fix casting overflow on 32-bit arch 2019-01-07 04:23:06 +00:00
bufio bufio: document relationship between UnreadByte/UnreadRune and Peek 2019-01-08 23:47:27 +00:00
builtin
bytes bytes: add ReplaceAll example 2018-12-13 19:40:13 +00:00
cmd cmd/compile: accept new Go2 number literals 2019-02-11 23:22:50 +00:00
compress compress/flate: fix the old url for the flate algorithm 2018-12-20 18:15:50 +00:00
container
context
crypto crypto/tls: disable RSA-PSS in TLS 1.2 2019-02-07 18:34:43 +00:00
database/sql database/sql: document Stmt lifetime 2019-02-08 19:52:00 +00:00
debug debug/gosym: remove outdated comment 2019-01-09 14:44:28 +00:00
encoding encoding/json: add comment for mashalererror struct 2019-01-15 23:30:58 +00:00
errors
expvar
flag flag: improve docs for PrintDefaults; clarify how to change output destination 2019-01-21 05:30:12 +00:00
fmt fmt: include failing method name in panic message 2018-12-13 22:41:52 +00:00
go go/scanner: accept new Go2 number literals 2019-02-11 23:23:32 +00:00
hash hash/fnv: use bits.Mul64 for 128-bit hash 2018-12-10 22:50:48 +00:00
html text/html: escape MIME type "application/ld+json" as JavaScript 2018-12-13 22:45:02 +00:00
image
index/suffixarray
internal internal/x/net/http2/hpack: update from upstream 2018-12-14 18:15:56 +00:00
io
log
math math/big: permit upper-case 'P' binary exponent (not just 'p') 2019-02-11 23:22:35 +00:00
mime mime/multipart: quote boundary in Content-Type if necessary 2018-12-13 23:58:06 +00:00
net net/url, net/http: relax CTL-in-URL validation to only ASCII CTLs 2019-01-29 20:42:54 +00:00
os os: treat EACCES as a permission error in RemoveAll 2019-01-30 01:56:14 +00:00
path path/filepath: skip TestIssue29372 on windows, if /tmp has symilinks 2019-01-27 04:18:10 +00:00
plugin plugin: fix build constraint to disable test on linux/arm64 2018-11-28 18:14:20 +00:00
reflect reflect: eliminate write barrier for copying result in callReflect 2019-02-01 19:23:02 +00:00
regexp regexp: use backquotes for all regular expression examples 2018-11-20 12:05:15 +00:00
runtime runtime: add credit system for scavenging 2019-01-31 16:55:43 +00:00
sort sort: change let to let's 2019-01-27 01:34:56 +00:00
strconv strconv: make docs for Itoa and Atoi slightly higher level 2018-12-31 22:48:43 +00:00
strings strings: add ReplaceAll example 2018-12-13 00:35:06 +00:00
sync sync/atomic: add 32-bit MIPS to the 64-bit alignment requirement 2019-02-09 23:07:07 +00:00
syscall syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
testdata
testing testing: report the failing test in a late log panic 2019-01-17 01:28:22 +00:00
text
time time: return ENOENT if a zoneinfo zip file is not found 2018-12-24 19:25:18 +00:00
unicode unicode: improve generated comments for categories 2018-11-28 03:12:48 +00:00
unsafe
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
make.bat build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
make.rc build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
run.bat build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00
run.rc build: clear GO111MODULE during make.bash etc 2018-11-16 18:54:22 +00:00