mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
* lread.c (read1): Although digits followed by a '.' are an
integer, a single . by itself (like, say, \.) should be a symbol.
This commit is contained in:
parent
b5e6f936b9
commit
5e43ddf5ff
1 changed files with 1 additions and 1 deletions
|
|
@ -1047,7 +1047,7 @@ read1 (readcharfun)
|
|||
while (p1 != p && (c = *p1) >= '0' && c <= '9') p1++;
|
||||
#ifdef LISP_FLOAT_TYPE
|
||||
/* Integers can have trailing decimal points. */
|
||||
if (p1 < p && *p1 == '.') p1++;
|
||||
if (p1 > read_buffer && p1 < p && *p1 == '.') p1++;
|
||||
#endif
|
||||
if (p1 == p)
|
||||
/* It is an integer. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue