changeset 28388:5b49a098d0cc

(read1): Accept `.' (period) as symbol start like in CL and earlier Emacs versions.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 29 Mar 2000 12:57:45 +0000
parents 9a8814cc543c
children 9ec5585e5e29
files src/lread.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Wed Mar 29 11:31:23 2000 +0000
+++ b/src/lread.c	Wed Mar 29 12:57:45 2000 +0000
@@ -2135,13 +2135,10 @@
 
     case '.':
       {
-	/* If a period is followed by a number, then we should read it
-	   as a floating point number.  Otherwise, it denotes a dotted
-	   pair.  */
 	int next_char = READCHAR;
 	UNREAD (next_char);
 
-	if (! (next_char >= '0' && next_char <= '9'))
+	if (next_char <= 040)
 	  {
 	    *pch = c;
 	    return Qnil;