[Bug c/33167] Hex constant characters with \x escape not parsing correctly

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 23 21:59:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-23 21:59 -------
No GCC is correct.
The standard says:
Each octal or hexadecimal escape sequence is the longest sequence of characters
that can constitute the escape sequence.

So that means the B is going to be taken and be used for the hexadecimal escape
sequence.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167



More information about the Gcc-bugs mailing list