Commit 2949a9b6 by Stephen L Moshier Committed by Jeff Law

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

From-SVN: r30284
parent 2a81679e
Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
* c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
* fold-const.c (fold): Fix thinko when optimizing comparisons
......
......@@ -1569,7 +1569,9 @@ 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