diff options
author | Robert Griesemer <gri@golang.org> | 2010-02-17 15:50:34 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-02-17 15:50:34 -0800 |
commit | f42e8833b30748c0f564fa384cc9ebd9b9ef9e8c (patch) | |
tree | 4c8e704a9205ee2f4f06ae26d2f7d9e0d3aca527 | |
parent | cd72f77f23e986133f4480d0a82e1bf2350cb6de (diff) | |
download | go-f42e8833b30748c0f564fa384cc9ebd9b9ef9e8c.tar.gz go-f42e8833b30748c0f564fa384cc9ebd9b9ef9e8c.zip |
language spec: make NUL byte rule an implementation restriction
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041
-rw-r--r-- | doc/go_spec.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index 06dcf3918e..bcde026723 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -90,7 +90,8 @@ Each code point is distinct; for instance, upper and lower case letters are different characters. </p> <p> -Source code must not contain the NUL character (U+0000). +Implementation restriction: For compatibility with other tools, a +compiler may disallow the NUL character (U+0000) in the source text. </p> <h3 id="Characters">Characters</h3> |