• Rob Pike's avatar
    spec: add another sentence about BOMs · 548c65a5
    Rob Pike authored
    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
    548c65a5
go_spec.html 177 KB