From 271bb601c426b043736a308b1a5f6d36bb47857a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 13 Mar 2000 21:20:15 +0000 Subject: * expr.c (operand) [case 'f']: When testing if '0f' can start a floating-point-number, make sure 'f' is in FLT_CHARS. --- gas/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/expr.c') diff --git a/gas/expr.c b/gas/expr.c index cd94e8e..7cca437 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -923,7 +923,8 @@ operand (expressionP) number, make it one. Otherwise, make it a local label, and try to deal with parsing the rest later. */ if (!input_line_pointer[1] - || (is_end_of_line[0xff & input_line_pointer[1]])) + || (is_end_of_line[0xff & input_line_pointer[1]]) + || strchr (FLT_CHARS, 'f') == NULL) goto is_0f_label; { char *cp = input_line_pointer + 1; -- cgit v1.1