comparison src/lread.c @ 45577:30f1ddc50732

Fix previous change (oops).
author Colin Walters <walters@gnu.org>
date Wed, 29 May 2002 18:58:38 +0000
parents 0a94e1efe9fc
children 2049fa380cb1
comparison
equal deleted inserted replaced
45576:0a94e1efe9fc 45577:30f1ddc50732
1478 START and END optionally delimit a substring of STRING from which to read; 1478 START and END optionally delimit a substring of STRING from which to read;
1479 they default to 0 and (length STRING) respectively. */) 1479 they default to 0 and (length STRING) respectively. */)
1480 (string, start, end) 1480 (string, start, end)
1481 Lisp_Object string, start, end; 1481 Lisp_Object string, start, end;
1482 { 1482 {
1483 Lisp_Object ret;
1483 CHECK_STRING (string); 1484 CHECK_STRING (string);
1484 Lisp_Object ret = read_internal_start (string, start, end); 1485 /* read_internal_start sets read_from_string_index. */
1486 ret = read_internal_start (string, start, end);
1485 return Fcons (ret, make_number (read_from_string_index)); 1487 return Fcons (ret, make_number (read_from_string_index));
1486 } 1488 }
1487 1489
1488 /* Function to set up the global context we need in toplevel read 1490 /* Function to set up the global context we need in toplevel read
1489 calls. */ 1491 calls. */