compiler: fix an ICE when parsing 0xdie, reject token 0x123i.
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 7 May 2012 18:53:28 +0000 (18:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 7 May 2012 18:53:28 +0000 (18:53 +0000)
commit62beea506bd1a5c688e7b88457408411c8272635
tree7095bb5f9bbc868f8efa84c16ab0286fe5aa1fec
parentca30ba74c97fac7fa2c9da54a3bc45bda11bfd2c
compiler: fix an ICE when parsing 0xdie, reject token 0x123i.

The lexer used to incorrectly accept a token like 0x123i
and interpreted it as 123i. It also used to die when encountering
0xdie.

From-SVN: r187266
gcc/go/gofrontend/lex.cc