changeset 48567:ecf43ac20827

fns.c (Frequire): Change nesting allowance from 2 to 3 to cause more descriptive error output from lread.c:Fload upon most require cycles during bootstrapping
author Steven Tamm <steventamm@mac.com>
date Thu, 28 Nov 2002 07:47:34 +0000
parents ac6028d32f14
children 8a7dcd7fcbf7
files src/ChangeLog src/fns.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Nov 28 01:08:07 2002 +0000
+++ b/src/ChangeLog	Thu Nov 28 07:47:34 2002 +0000
@@ -1,3 +1,9 @@
+2002-11-27  Steven Tamm  <steventamm@mac.com>
+
+	* fns.c (Frequire): Change nesting allowance from 2 to 3 to cause
+	more descriptive error output from lread.c:Fload upon most require
+	cycles during boostrapping.
+
 2002-11-27  Jason Rumney  <jasonr@gnu.org>
 
 	* fileio.c (Finsert_file_contents): Give a more appropriate error
--- a/src/fns.c	Thu Nov 28 01:08:07 2002 +0000
+++ b/src/fns.c	Thu Nov 28 07:47:34 2002 +0000
@@ -3269,7 +3269,7 @@
 	    nesting++;
 	  tem = XCDR (tem);
 	}
-      if (nesting > 2)
+      if (nesting > 3)
 	error ("Recursive `require' for feature `%s'",
 	       SDATA (SYMBOL_NAME (feature)));