]> Cypherpunks repositories - gostls13.git/commit
spec: add another sentence about BOMs
authorRob Pike <r@golang.org>
Thu, 11 Apr 2013 18:33:25 +0000 (11:33 -0700)
committerRob Pike <r@golang.org>
Thu, 11 Apr 2013 18:33:25 +0000 (11:33 -0700)
commit548c65a568e14490f1a6b80e92c175e2410ddf20
treed8e15cb72d8912e515b9deb321582c6af17dbf3e
parentd06be395cc8094b3cb132be238d745b668dbfa04
spec: add another sentence about BOMs
Although one may argue that they should be legal, gc (at least)
disallows byte order marks that are not the first code point
in the file. Added a sentence to the "Implementation restriction"
clause in the "Source code representation" section to document
this better.

Lifting this restriction (again - the rule has changed at least
twice already) would not break any existing programs, should
we later decide yet again to fiddle the rules about these little
fly specks.

R=golang-dev, dsymonds, gri
CC=golang-dev
https://golang.org/cl/8649043
doc/go_spec.html