diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c index aedeb40c7ef..fa0219deb49 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -302,6 +302,10 @@ readchar (readcharfun) | |||
| 302 | 302 | ||
| 303 | return c; | 303 | return c; |
| 304 | } | 304 | } |
| 305 | |||
| 306 | if (EQ (readcharfun, Qlambda)) | ||
| 307 | return read_bytecode_char (0); | ||
| 308 | |||
| 305 | if (EQ (readcharfun, Qget_file_char)) | 309 | if (EQ (readcharfun, Qget_file_char)) |
| 306 | { | 310 | { |
| 307 | c = getc (instream); | 311 | c = getc (instream); |
| @@ -391,6 +395,8 @@ unreadchar (readcharfun, c) | |||
| 391 | read_from_string_index_byte | 395 | read_from_string_index_byte |
| 392 | = string_char_to_byte (readcharfun, read_from_string_index); | 396 | = string_char_to_byte (readcharfun, read_from_string_index); |
| 393 | } | 397 | } |
| 398 | else if (EQ (readcharfun, Qlambda)) | ||
| 399 | read_bytecode_char (1); | ||
| 394 | else if (EQ (readcharfun, Qget_file_char)) | 400 | else if (EQ (readcharfun, Qget_file_char)) |
| 395 | ungetc (c, instream); | 401 | ungetc (c, instream); |
| 396 | else | 402 | else |