1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:57:57 -07:00

spec: disallow NUL in source files

R=r
CC=golang-dev
https://golang.org/cl/209042
This commit is contained in:
Russ Cox 2010-02-16 16:47:18 -08:00
parent 1811fac7cb
commit b7d9ffeecd

View 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 Each code point is distinct; for instance, upper and lower case letters
are different characters. are different characters.
</p> </p>
<p>
Source code must not contain the NUL character (U+0000).
</p>
<h3 id="Characters">Characters</h3> <h3 id="Characters">Characters</h3>