commit | 85857977230437f2b3dcbeea009efbb8b2789039 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Fri Aug 09 17:12:59 2019 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Sat Aug 17 23:45:50 2019 +0000 |
tree | e447e41ee0d65f0b46bad238763025145650af32 | |
parent | 4b47cadf938caadf563f8d0bb3f7111d06f61752 [diff] |
compiler: support new numeric literal syntax Support 0b, 0o, and hex floats. Tested against test/literal2.go in the gc repo. Updates golang/go#12711 Updates golang/go#19308 Updates golang/go#28493 Updates golang/go#29008 Change-Id: I2ab01255f529880a2bd8603107e3e1ae03a7a3e5 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/189718 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>