From: tomo Date: Wed, 7 Jun 2000 07:10:01 +0000 (+0000) Subject: (Fstring_to_number): Don't recognize floating point if base is not 10. X-Git-Tag: r21-2-34-tomo-hex~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=929971436891cb013d6ea2c18cb75447850aea5e;p=chise%2Fxemacs-chise.git (Fstring_to_number): Don't recognize floating point if base is not 10. --- diff --git a/src/data.c b/src/data.c index 684e703..d4792d2 100644 --- a/src/data.c +++ b/src/data.c @@ -1064,7 +1064,7 @@ Floating point numbers always use base 10. p++; #ifdef LISP_FLOAT_TYPE - if (isfloat_string (p)) + if (isfloat_string (p) && b == 10) return make_float (atof (p)); #endif /* LISP_FLOAT_TYPE */