From 4ab11c0962fc37d92a4c3ea1a2884accd5e26879 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 15 Dec 2000 13:59:23 +0000 Subject: [PATCH] (read1): Recognize end of file after `\\'. --- src/lread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lread.c b/src/lread.c index 2b1a7b84225..36ea5239459 100644 --- a/src/lread.c +++ b/src/lread.c @@ -2271,6 +2271,8 @@ read1 (readcharfun, pch, first_in_list) if (c == '\\') { c = READCHAR; + if (c == -1) + end_of_file_error (); quoted = 1; } -- 2.39.2