aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2015-05-27 17:33:46 -0400
committerDavid Chase <drchase@google.com>2015-05-28 18:52:14 +0000
commit596bb76248dd7844ba3bebcdeab9a7c42ef5855a (patch)
tree6f07557b7ea08e1d324e7b961d2e3471187156b1 /src/encoding
parentbd8bb6735765653b29c672d724eaf80a477d1eba (diff)
downloadgo-596bb76248dd7844ba3bebcdeab9a7c42ef5855a.tar.xz
cmd/compile: reject p-notation floats in Go source files
Use pkgimport == nil (or not) to distinguish between parsing .go source files where "p" exponent specifier is not allowed and parsing .a or .o export data where it is. Use that to control error when p-exponent is seen. Fixes #9036 Change-Id: I8924f09c91d4945ef3f20e80a6e544008a94a7e4 Reviewed-on: https://go-review.googlesource.com/10450 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions