diff options
| author | Gerd Moellmann | 2000-12-15 13:59:23 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-15 13:59:23 +0000 |
| commit | 4ab11c0962fc37d92a4c3ea1a2884accd5e26879 (patch) | |
| tree | 8bc67a0284c18704b6436e5cb951df6aacf7bc6d /src | |
| parent | 68ebbb959e5ef9e87cb41dde08397622cf756b3a (diff) | |
| download | emacs-4ab11c0962fc37d92a4c3ea1a2884accd5e26879.tar.gz emacs-4ab11c0962fc37d92a4c3ea1a2884accd5e26879.zip | |
(read1): Recognize end of file after `\\'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
| 2271 | if (c == '\\') | 2271 | if (c == '\\') |
| 2272 | { | 2272 | { |
| 2273 | c = READCHAR; | 2273 | c = READCHAR; |
| 2274 | if (c == -1) | ||
| 2275 | end_of_file_error (); | ||
| 2274 | quoted = 1; | 2276 | quoted = 1; |
| 2275 | } | 2277 | } |
| 2276 | 2278 | ||