* expr.c (operand): Check more correctly that there is no advance
in operand after atof_generic in order to decide "is it label 0f or floating point number?".
This commit is contained in:
parent
bb89d84ac7
commit
ff0f011267
|
@ -1,3 +1,9 @@
|
|||
1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
|
||||
|
||||
* expr.c (operand): Check more correctly that there is no advance
|
||||
in operand after atof_generic in order to decide "is it label 0f
|
||||
or floating point number?".
|
||||
|
||||
1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
|
||||
|
||||
* expr.c (operand): Check correctly that there is no advance in
|
||||
|
|
|
@ -924,7 +924,7 @@ operand (expressionP)
|
|||
{
|
||||
case 0:
|
||||
case ERROR_EXPONENT_OVERFLOW:
|
||||
if (cp[-1] == 'f' || cp[-1] == 'b')
|
||||
if (cp == input_line_pointer + 1)
|
||||
/* looks like a difference expression */
|
||||
goto is_0f_label;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue