From b7d9ffeecd4fd9afe0922b08998e85f0d0672582 Mon Sep 17 00:00:00 2001
From: Russ Cox
Date: Tue, 16 Feb 2010 16:47:18 -0800
Subject: [PATCH] spec: disallow NUL in source files
R=r
CC=golang-dev
https://golang.org/cl/209042
---
doc/go_spec.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 0f6475eac5..06dcf3918e 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -89,6 +89,9 @@ will use the term character to refer to a Unicode code point.
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).
+
Characters
--
2.50.0