Mercurial > emacs
comparison src/lread.c @ 45747:2049fa380cb1
(read_integer): Remove unused var `tem'.
(read1): Fix int/Lisp_Object mixup.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 11 Jun 2002 15:13:58 +0000 |
parents | 30f1ddc50732 |
children | e4f4f706201f |
comparison
equal
deleted
inserted
replaced
45746:8f026a28517c | 45747:2049fa380cb1 |
---|---|
1459 standard input in batch mode). */) | 1459 standard input in batch mode). */) |
1460 (stream) | 1460 (stream) |
1461 Lisp_Object stream; | 1461 Lisp_Object stream; |
1462 { | 1462 { |
1463 extern Lisp_Object Fread_minibuffer (); | 1463 extern Lisp_Object Fread_minibuffer (); |
1464 Lisp_Object tem; | |
1465 if (NILP (stream)) | 1464 if (NILP (stream)) |
1466 stream = Vstandard_input; | 1465 stream = Vstandard_input; |
1467 if (EQ (stream, Qt)) | 1466 if (EQ (stream, Qt)) |
1468 stream = Qread_char; | 1467 stream = Qread_char; |
1469 if (EQ (stream, Qread_char)) | 1468 if (EQ (stream, Qread_char)) |
2511 || EQ (Vread_with_symbol_positions, readcharfun)) | 2510 || EQ (Vread_with_symbol_positions, readcharfun)) |
2512 Vread_symbol_positions_list = | 2511 Vread_symbol_positions_list = |
2513 /* Kind of a hack; this will probably fail if characters | 2512 /* Kind of a hack; this will probably fail if characters |
2514 in the symbol name were escaped. Not really a big | 2513 in the symbol name were escaped. Not really a big |
2515 deal, though. */ | 2514 deal, though. */ |
2516 Fcons (Fcons (result, readchar_count - Flength (Fsymbol_name (result))), | 2515 Fcons (Fcons (result, |
2516 make_number (readchar_count | |
2517 - XFASTINT (Flength (Fsymbol_name (result))))), | |
2517 Vread_symbol_positions_list); | 2518 Vread_symbol_positions_list); |
2518 return result; | 2519 return result; |
2519 } | 2520 } |
2520 } | 2521 } |
2521 } | 2522 } |