gcj bug
Alexandre Petit-Bianco
apbianco@cygnus.com
Thu Aug 23 17:16:00 GMT 2001
Alexandre Petit-Bianco writes:
> I have no idea about what's happening.
Oh, I see.
./A
2001-08-23 Alexandre Petit-Bianco <apbianco@redhat.com>
(build_dot_class_method_invocation): sig_id's path separators to
be replaced by name separators.
Index: parse.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
retrieving revision 1.301
diff -u -p -r1.301 parse.y
--- parse.y 2001/08/22 15:27:35 1.301
+++ parse.y 2001/08/24 00:13:20
@@ -8656,6 +8719,10 @@ build_dot_class_method_invocation (type)
sig_id = build_java_signature (type);
else
sig_id = DECL_NAME (TYPE_NAME (type));
+
+ /* Ensure that the proper name separator is used */
+ sig_id = ident_subst (IDENTIFIER_POINTER (sig_id),
+ IDENTIFIER_LENGTH (sig_id), "", '/', '.', "");
s = build_string (IDENTIFIER_LENGTH (sig_id),
IDENTIFIER_POINTER (sig_id));
More information about the Java
mailing list