diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/java/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index ddba50c..43a6560 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,8 @@ 2001-12-08 Tom Tromey <tromey@redhat.com> + * gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything + else. + * gjavah.c (print_namelet): Clear subnamelets. (HANDLE_METHOD): Set `method_printed' earlier. diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 00f29f6..779e3ed 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -194,6 +194,7 @@ static int method_signature = 0; { \ method_synthetic = 0; \ method_printed = 0; \ + decompiled = 0; \ method_signature = SIGNATURE; \ if (ATTRIBUTE_COUNT) \ method_synthetic = peek_attribute (jcf, ATTRIBUTE_COUNT, \ @@ -209,7 +210,6 @@ static int method_signature = 0; } \ if (method_pass && !method_synthetic) \ { \ - decompiled = 0; \ if (out) \ print_method_info (out, jcf, NAME, SIGNATURE, \ ACCESS_FLAGS); \ |