From 5e43ddf5ffd1313c66df0955caa6f9130ed975ec Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 29 Jan 1993 21:32:37 +0000 Subject: [PATCH] * lread.c (read1): Although digits followed by a '.' are an integer, a single . by itself (like, say, \.) should be a symbol. --- src/lread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index 721955c358..e2aa7206ab 100644 --- a/src/lread.c +++ b/src/lread.c @@ -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. */ -- 2.39.2