mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-08 03:54:01 +08:00
* lex.c (yylex): Accept 'f' in mantissa of hex float constant.
From-SVN: r30285
This commit is contained in:
parent
2949a9b6d7
commit
5630b4635d
@ -1,3 +1,7 @@
|
||||
Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
|
||||
|
||||
* lex.c (yylex): Accept 'f' in mantissa of hex float constant.
|
||||
|
||||
1999-10-30 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (pop_cp_function_context): Don't call free on a NULL
|
||||
|
@ -3850,7 +3850,9 @@ real_yylex ()
|
||||
|| (ISALNUM (c) && c != 'l' && c != 'L'
|
||||
&& c != 'u' && c != 'U'
|
||||
&& c != 'i' && c != 'I' && c != 'j' && c != 'J'
|
||||
&& (floatflag == NOT_FLOAT || ((c != 'f') && (c != 'F')))))
|
||||
&& (floatflag == NOT_FLOAT
|
||||
|| ((base != 16) && (c != 'f') && (c != 'F'))
|
||||
|| base == 16)))
|
||||
{
|
||||
if (c == '.')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user