From: Robert Griesemer
Date: Wed, 17 Feb 2010 23:50:34 +0000 (-0800)
Subject: language spec: make NUL byte rule an implementation restriction
X-Git-Tag: weekly.2010-02-17~1
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f42e8833b30748c0f564fa384cc9ebd9b9ef9e8c;p=gostls13.git
language spec: make NUL byte rule an implementation restriction
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041
---
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.
-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.
Characters