summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-02-16 16:47:18 -0800
committerRuss Cox <rsc@golang.org>2010-02-16 16:47:18 -0800
commit28c4fded36a93426112a611888c6a6d03172775f (patch)
tree4eaac4b2d8474a40225da28bd60f3f839c7f4ec1
parent3051c8fea425b32b16448f69f14fd7e8bfda279a (diff)
downloadgolang-28c4fded36a93426112a611888c6a6d03172775f.tar.gz
spec: disallow NUL in source files
R=r CC=golang-dev http://codereview.appspot.com/209042
-rw-r--r--doc/go_spec.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 0f6475eac..06dcf3918 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -89,6 +89,9 @@ will use the term <i>character</i> to refer to a Unicode code point.
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).
+</p>
<h3 id="Characters">Characters</h3>