diff src/lread.c @ 34604:e2ad3c71947b

(read1): Recognize end of file after `\\'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 15 Dec 2000 13:59:23 +0000
parents b2ec0cbfd60a
children c809110e1433
line wrap: on
line diff
--- a/src/lread.c	Fri Dec 15 13:22:21 2000 +0000
+++ b/src/lread.c	Fri Dec 15 13:59:23 2000 +0000
@@ -2271,6 +2271,8 @@
 	      if (c == '\\')
 		{
 		  c = READCHAR;
+		  if (c == -1)
+		    end_of_file_error ();
 		  quoted = 1;
 		}