]> Cypherpunks repositories - gostls13.git/commitdiff
spec: disallow NUL in source files
authorRuss Cox <rsc@golang.org>
Wed, 17 Feb 2010 00:47:18 +0000 (16:47 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 17 Feb 2010 00:47:18 +0000 (16:47 -0800)
R=r
CC=golang-dev
https://golang.org/cl/209042

doc/go_spec.html

index 0f6475eac5a3c8d9a2d86c7c6b4b5aab69302d0e..06dcf3918eff343d982a468b155800310f435de1 100644 (file)
@@ -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>