changeset 34604:e2ad3c71947b

(read1): Recognize end of file after `\\'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 15 Dec 2000 13:59:23 +0000
parents dab8fe8d55f4
children 8b318d7f5f2a
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
 		}