diff options
author | Tom Tromey <tromey@cygnus.com> | 1999-02-26 12:49:52 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-02-26 12:49:52 +0000 |
commit | 686fb236788dd10e553cc60c807067a24542232a (patch) | |
tree | 8599c5659cc73a42a87a116ae166ce117808fa9d /gcc/java/decl.c | |
parent | 5f56af5a8d207f088d752e59d855e27a8f39b579 (diff) | |
download | gcc-686fb236788dd10e553cc60c807067a24542232a.zip gcc-686fb236788dd10e553cc60c807067a24542232a.tar.gz gcc-686fb236788dd10e553cc60c807067a24542232a.tar.bz2 |
gjavah.c (add_class_decl): Only generate `#include' if outer class is not the name of the class we are...
* 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.
From-SVN: r25460
Diffstat (limited to 'gcc/java/decl.c')
0 files changed, 0 insertions, 0 deletions