changeset 19751:19f79afe3e78

(Faset): Simplify a statement in the char-table case. This is to help some compilers.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 Sep 1997 06:30:27 +0000
parents 95e4e1cba6ac
children d82a99796033
files src/data.c
diffstat 1 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Thu Sep 04 05:58:20 1997 +0000
+++ b/src/data.c	Thu Sep 04 06:30:27 1997 +0000
@@ -1707,13 +1707,19 @@
 	      if (SUB_CHAR_TABLE_P (val))
 		array = val;
 	      else
-		/* VAL is a leaf.  Create a sub char table with the
-		   default value VAL or XCHAR_TABLE (array)->defalt
-		   and look into it.  */
-		array = (XCHAR_TABLE (array)->contents[code[i]]
-			 = make_sub_char_table (NILP (val)
-						? XCHAR_TABLE (array)->defalt
-						: val));
+		{
+		  Lisp_Object temp;
+
+		  /* VAL is a leaf.  Create a sub char table with the
+		     default value VAL or XCHAR_TABLE (array)->defalt
+		     and look into it.  */
+
+		  temp = make_sub_char_table (NILP (val)
+					      ? XCHAR_TABLE (array)->defalt
+					      : val);
+		  XCHAR_TABLE (array)->contents[code[i]] = temp;
+		  array = temp;
+		}
 	    }
 	  XCHAR_TABLE (array)->contents[code[i]] = newelt;
 	}