Commit 5630b463 by Stephen L Moshier Committed by Jeff Law

* lex.c (yylex): Accept 'f' in mantissa of hex float constant.

From-SVN: r30285
parent 2949a9b6
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 == '.')
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment