]> git.eshelyaron.com Git - emacs.git/commitdiff
(read1): Recognize end of file after `\\'.
authorGerd Moellmann <gerd@gnu.org>
Fri, 15 Dec 2000 13:59:23 +0000 (13:59 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 15 Dec 2000 13:59:23 +0000 (13:59 +0000)
src/lread.c

index 2b1a7b84225d2a997ead4a4c97e038f7e850ee11..36ea523945965d778642dc9678266649f133d5b3 100644 (file)
@@ -2271,6 +2271,8 @@ read1 (readcharfun, pch, first_in_list)
              if (c == '\\')
                {
                  c = READCHAR;
+                 if (c == -1)
+                   end_of_file_error ();
                  quoted = 1;
                }