X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Fatof-generic.c;fp=gas%2Fatof-generic.c;h=40a9ff04922bac1b211864a76a0fe61915511747;hp=6b5db3551ea8dfcd46e515ea404b5b2341832146;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/atof-generic.c b/gas/atof-generic.c index 6b5db35..40a9ff0 100644 --- a/gas/atof-generic.c +++ b/gas/atof-generic.c @@ -1,6 +1,6 @@ /* atof_generic.c - turn a string of digits into a Flonum Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, - 2001, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + 2001, 2003, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -101,7 +101,7 @@ atof_generic (/* return pointer to just AFTER number we read. */ int seen_significant_digit; #ifdef ASSUME_DECIMAL_MARK_IS_DOT - assert (string_of_decimal_marks[0] == '.' + gas_assert (string_of_decimal_marks[0] == '.' && string_of_decimal_marks[1] == 0); #define IS_DECIMAL_MARK(c) ((c) == '.') #else