This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

typo patch



This patch fixes a typo in parse.y

--- parse.y.orig	Thu Dec 30 17:15:41 1999
+++ parse.y	Thu Dec 30 17:16:24 1999
@@ -9910,7 +9910,7 @@ patch_binop (node, wfl_op1, wfl_op2)
 	prom_type = binary_numeric_promotion (op1_type, op2_type, &op1, &op2);
 
       else if (TREE_CODE (op1_type) == BOOLEAN_TYPE 
-	       && TREE_CODE (op1_type) == BOOLEAN_TYPE)
+	       && TREE_CODE (op2_type) == BOOLEAN_TYPE)
 	/* The type of the bitwise operator expression is BOOLEAN */
 	prom_type = boolean_type_node;
       else

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]