Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158)

Unified Diff: doc/go_spec.html

Issue 6506083: code review 6506083: spec: ignore BOMS outside of string and rune literals. (Closed)
Patch Set: diff -r 43de2903aae0 https://code.google.com/p/go/ Created 12 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc/go_spec.html
===================================================================
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of September 4, 2012",
+ "Subtitle": "Version of September 6, 2012",
"Path": "/ref/spec"
}-->
@@ -99,6 +99,12 @@
Implementation restriction: For compatibility with other tools, a
compiler may disallow the NUL character (U+0000) in the source text.
</p>
+<p>
+Implementation restriction: For compatibility with other tools, a
+compiler may ignore any UTF-8-encoded Unicode byte order mark
+(U+FEFF) in the source text outside of <a href="#String_literals">string</a>
+and <a href="#Rune_literals">rune</a> literals.
+</p>
<h3 id="Characters">Characters</h3>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b