1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:20:22 -07:00

language spec: make NUL byte rule an implementation restriction

R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041
This commit is contained in:
Robert Griesemer 2010-02-17 15:50:34 -08:00
parent cd72f77f23
commit f42e8833b3

View File

@ -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>