diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-03-13 21:20:15 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-03-13 21:20:15 +0000 |
commit | 271bb601c426b043736a308b1a5f6d36bb47857a (patch) | |
tree | 48f5d3ee4776d71dc27a113a609cc7706d541f7a /gas/expr.c | |
parent | 8684e216c83d214d6f896cacb420a2a7699e6690 (diff) | |
download | gdb-271bb601c426b043736a308b1a5f6d36bb47857a.zip gdb-271bb601c426b043736a308b1a5f6d36bb47857a.tar.gz gdb-271bb601c426b043736a308b1a5f6d36bb47857a.tar.bz2 |
* expr.c (operand) [case 'f']: When testing if '0f' can start a
floating-point-number, make sure 'f' is in FLT_CHARS.
Diffstat (limited to 'gas/expr.c')
-rw-r--r-- | gas/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |