changeset 45576:0a94e1efe9fc

(Fread_from_string): Don't depend on order of evaluation for C function parameters.
author Colin Walters <walters@gnu.org>
date Wed, 29 May 2002 18:57:57 +0000
parents 642180519072
children 30f1ddc50732
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Wed May 29 18:57:33 2002 +0000
+++ b/src/lread.c	Wed May 29 18:57:57 2002 +0000
@@ -1481,8 +1481,8 @@
      Lisp_Object string, start, end;
 {
   CHECK_STRING (string);
-  return Fcons (read_internal_start (string, start, end),
-		make_number (read_from_string_index));
+  Lisp_Object ret = read_internal_start (string, start, end);
+  return Fcons (ret, make_number (read_from_string_index));
 }
 
 /* Function to set up the global context we need in toplevel read