* gjavah.c (add_class_decl): Only generate `#include' if outer
commit116238639891022b3cf3c6d6240b3ea437123478
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 1999 12:49:52 +0000 (26 12:49 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 1999 12:49:52 +0000 (26 12:49 +0000)
tree8599c5659cc73a42a87a116ae166ce117808fa9d
parent5637d8b8ee7710dfae7b34e81282f2dde6f67233
* gjavah.c (add_class_decl): Only generate `#include' if outer
class is not the name of the class we are processing.  Correctly
append `.h' in #include.
(process_file): Clean up newlines around generated `#include's.
(decode_signature_piece): Correctly handle inner classes.
(struct include): New structure.
(all_includes): New global.
(print_include): New function.
(add_class_decl): Use it.
(process_file): Likewise.
(add_class_decl): Generate include for java-array.h if array
seen.
(process_file): Don't generate java-array.h include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25460 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/gjavah.c