(read_escape): Use end_of_file_error for reporting eof.
authorRichard M. Stallman <rms@gnu.org>
Sun, 11 Nov 2001 20:10:28 +0000 (20:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 11 Nov 2001 20:10:28 +0000 (20:10 +0000)
src/lread.c

index a728322..d8e0fd5 100644 (file)
@@ -1516,7 +1516,7 @@ read_escape (readcharfun, stringp)
   switch (c)
     {
     case -1:
-      error ("End of file");
+      end_of_file_error ();
 
     case 'a':
       return '\007';