changeset 31315:08bb5394dee1

(read1): Accept `?' as symbol constituent, for compatiblity with XEmacs.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 01 Sep 2000 11:55:15 +0000
parents 16b334e9c404
children e14c9c3a1cc6
files src/lread.c
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Thu Aug 31 23:53:09 2000 +0000
+++ b/src/lread.c	Fri Sep 01 11:55:15 2000 +0000
@@ -2197,25 +2197,26 @@
     default_label:
       if (c <= 040) goto retry;
       {
-	register char *p = read_buffer;
+	char *p = read_buffer;
 	int quoted = 0;
 
 	{
-	  register char *end = read_buffer + read_buffer_size;
+	  char *end = read_buffer + read_buffer_size;
 
 	  while (c > 040
-		 && !(c == '\"' || c == '\'' || c == ';' || c == '?'
+		 && !(c == '\"' || c == '\'' || c == ';'
 		      || c == '(' || c == ')'
-		      || c == '[' || c == ']' || c == '#'
-		      ))
+		      || c == '[' || c == ']' || c == '#'))
 	    {
 	      if (end - p < MAX_MULTIBYTE_LENGTH)
 		{
-		  register char *new = (char *) xrealloc (read_buffer, read_buffer_size *= 2);
+		  char *new = (char *) xrealloc (read_buffer,
+						 read_buffer_size *= 2);
 		  p += new - read_buffer;
 		  read_buffer += new - read_buffer;
 		  end = read_buffer + read_buffer_size;
 		}
+	      
 	      if (c == '\\')
 		{
 		  c = READCHAR;