From: Gerd Moellmann Date: Fri, 15 Dec 2000 13:59:23 +0000 (+0000) Subject: (read1): Recognize end of file after `\\'. X-Git-Tag: emacs-pretest-21.0.95~490 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ab11c0962fc37d92a4c3ea1a2884accd5e26879;p=emacs.git (read1): Recognize end of file after `\\'. --- 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; }