diff options
| author | Russ Cox <rsc@golang.org> | 2019-01-29 23:06:06 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2019-02-26 05:18:24 +0000 |
| commit | f601d412ceae1338999b203c50168af34285c634 (patch) | |
| tree | ba59a53896e4f17e355576766ff235d306755c0c /src/text/template/parse/node.go | |
| parent | ac51237affc016dd22f5b4f67dc8a2d09adf1fb2 (diff) | |
| download | go-f601d412ceae1338999b203c50168af34285c634.tar.xz | |
fmt: scan new number syntax
This CL updates fmt's scanner to accept the new number syntaxes:
- Hexadecimal floating-point values.
- Digit-separating underscores.
- Leading 0b and 0o prefixes.
See golang.org/design/19308-number-literals for background.
For #12711.
For #19308.
For #28493.
For #29008.
Change-Id: I5582af5c94059c781e6cf4e862441d3df3006adf
Reviewed-on: https://go-review.googlesource.com/c/160247
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/text/template/parse/node.go')
0 files changed, 0 insertions, 0 deletions
