This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
typo patch
- To: java-patches at sourceware dot cygnus dot com
- Subject: typo patch
- From: Joerg dot Brunsmann at FernUni-Hagen dot de (Joerg Brunsmann)
- Date: Thu, 30 Dec 1999 17:32:24 +0100
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