[Commit] nickle compile.c,1.133,1.134

Keith Packard commit@keithp.com
Wed, 28 May 2003 12:10:12 -0700


Committed by: keithp

Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv9376

Modified Files:
	compile.c 
Log Message:
Dont try to check union case when types are broken

Index: compile.c
===================================================================
RCS file: /local/src/CVS/nickle/compile.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- compile.c	2 May 2003 00:23:37 -0000	1.133
+++ compile.c	28 May 2003 19:10:09 -0000	1.134
@@ -3066,7 +3066,7 @@
 	 * all possible values
 	 */
 	test_inst = 0;
-	if (expr->base.tag == UNION)
+	if (expr->base.tag == UNION && st)
 	{
 	    Bool	    missing = False;
 	    int		    i;