From f42e8833b30748c0f564fa384cc9ebd9b9ef9e8c Mon Sep 17 00:00:00 2001
From: Robert Griesemer
Date: Wed, 17 Feb 2010 15:50:34 -0800
Subject: [PATCH] language spec: make NUL byte rule an implementation
restriction
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041
---
doc/go_spec.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.50.0