LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File c99numbers.diff of Package gcc33 (Project openSUSE:Factory)

Index: gcc/cppexp.c
===================================================================
--- 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)
       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++;