compiler: Disallow rune literals with '\X'.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 24 Jul 2015 18:28:40 +0000 (18:28 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 24 Jul 2015 18:28:40 +0000 (18:28 +0000)
commit37aa341d9dffe66a784d3d1453042e9e7d315ec9
tree9d8e3eceada9c9dc0cd7eb051b66503a36ab04e6
parent6b1786aa65f71d94362d38ada4bf96b6841a59cb
compiler: Disallow rune literals with '\X'.

    http://golang.org/ref/spec#Rune_literals states that rune literals
    encoded as hex bytes must begin with lowercase '\x'.
    Fixes golang/go#11575.

    Reviewed-on: https://go-review.googlesource.com/12158

From-SVN: r226184
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/lex.cc