Fix for PR java/5913:
* parse.y (patch_binop): Call patch_string on op1.
From-SVN: r54174
+2002-06-02 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR java/5913:
+ * parse.y (patch_binop): Call patch_string on op1.
+
2002-06-02 Tom Tromey <tromey@redhat.com>
Fix for PR java/1343, PR java/6336:
TREE_TYPE (node) = boolean_type_node;
+ /* OP1_TYPE might be NULL when OP1 is a string constant. */
+ if ((cn = patch_string (op1)))
+ {
+ op1 = cn;
+ op1_type = TREE_TYPE (op1);
+ }
+ if (op1_type == NULL_TREE)
+ abort ();
+
if (!(op2_type = resolve_type_during_patch (op2)))
return error_mark_node;