2008-12-04 16:15:40 +00:00
|
|
|
Index: gcc/cppexp.c
|
|
|
|
===================================================================
|
2009-11-20 12:08:01 +00:00
|
|
|
--- gcc/cppexp.c.orig 2003-08-03 17:58:06.000000000 +0200
|
|
|
|
+++ gcc/cppexp.c 2009-11-20 13:05:33.000000000 +0100
|
|
|
|
@@ -173,7 +173,8 @@ cpp_classify_number (pfile, token)
|
2008-12-04 16:15:40 +00:00
|
|
|
str++;
|
|
|
|
|
|
|
|
/* Require at least one hex digit to classify it as hex. */
|
|
|
|
- if ((*str == 'x' || *str == 'X') && ISXDIGIT (str[1]))
|
|
|
|
+ if ((*str == 'x' || *str == 'X')
|
|
|
|
+ && (str[1] == '.' || ISXDIGIT (str[1])))
|
|
|
|
{
|
|
|
|
radix = 16;
|
|
|
|
str++;
|