golang/go

gccgo: does not understand greek capiltal letter yot

dvyukov opened this issue · 4 comments

gccgo fails to compile the following program:

package p
const Ϳ = 0
go.go:2:7: error: invalid character 0x37f in input file

That's greek capiltal letter yot:
http://www.fileformat.info/info/unicode/char/37f/index.htm

gcc version 6.0.0 2015070 (experimental) (GCC)

Probably we need to update unicode_letters in lex.cc.

CL https://golang.org/cl/12652 mentions this issue.