Fix indentation from last patch.
Remove trailing whitespace. From-SVN: r24061
This commit is contained in:
parent
066b4a1cc8
commit
75cb8865ae
10
gcc/c-lex.c
10
gcc/c-lex.c
@ -1387,7 +1387,7 @@ yylex ()
|
||||
floatflag = AFTER_POINT;
|
||||
|
||||
if (base == 8)
|
||||
base = 10;
|
||||
base = 10;
|
||||
*p++ = c = GETC();
|
||||
/* Accept '.' as the start of a floating-point number
|
||||
only when it is followed by a digit.
|
||||
@ -1508,7 +1508,7 @@ yylex ()
|
||||
/* Exponent is decimal, even if string is a hex float. */
|
||||
if (! ISDIGIT (c))
|
||||
error ("floating constant exponent has no digits");
|
||||
while (ISDIGIT (c))
|
||||
while (ISDIGIT (c))
|
||||
{
|
||||
if (p >= token_buffer + maxtoken - 3)
|
||||
p = extend_token_buffer (p);
|
||||
@ -1593,7 +1593,7 @@ yylex ()
|
||||
if (base == 16)
|
||||
value = REAL_VALUE_HTOF (copy, TYPE_MODE (type));
|
||||
else
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
conversion_errno = errno;
|
||||
/* A diagnostic is required here by some ANSI C testsuites.
|
||||
This is not pedwarn, because some people don't want
|
||||
@ -1608,7 +1608,7 @@ yylex ()
|
||||
if (base == 16)
|
||||
value = REAL_VALUE_HTOF (copy, TYPE_MODE (type));
|
||||
else
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
conversion_errno = errno;
|
||||
if (REAL_VALUE_ISINF (value) && pedantic)
|
||||
warning ("floating point number exceeds range of `long double'");
|
||||
@ -1619,7 +1619,7 @@ yylex ()
|
||||
if (base == 16)
|
||||
value = REAL_VALUE_HTOF (copy, TYPE_MODE (type));
|
||||
else
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
value = REAL_VALUE_ATOF (copy, TYPE_MODE (type));
|
||||
conversion_errno = errno;
|
||||
if (REAL_VALUE_ISINF (value) && pedantic)
|
||||
warning ("floating point number exceeds range of `double'");
|
||||
|
Loading…
Reference in New Issue
Block a user