Commit 12207a87 by Tom Tromey Committed by Tom Tromey

gjavah.c (print_cxx_classname): Print "::" before qualified name.

	* gjavah.c (print_cxx_classname): Print "::" before qualified
	name.

http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=36

From-SVN: r28902
parent 21e3a717
1999-08-26 Tom Tromey <tromey@cygnus.com>
* gjavah.c (print_cxx_classname): Print "::" before qualified
name.
Thu Aug 26 09:10:58 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (lookup_cl): Changed leading comment. Now does its best
......
......@@ -753,6 +753,8 @@ decode_signature_piece (stream, signature, limit, need_space)
case 'Z': ctype = "jboolean"; goto printit;
case 'V': ctype = "void"; goto printit;
case 'L':
/* Print a leading "::" so we look in the right namespace. */
fputs ("::", stream);
++signature;
while (*signature && *signature != ';')
{
......@@ -988,6 +990,10 @@ print_cxx_classname (stream, prefix, jcf, index)
return 0;
fputs (prefix, stream);
/* Print a leading "::" so we look in the right namespace. */
fputs ("::", stream);
while (s < limit)
{
c = UTF8_GET (s, limit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment