Commit 897c9e66 by Tom Tromey Committed by Tom Tromey

gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything else.

	* gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything
	else.

From-SVN: r47802
parent 4440ffc4
2001-12-08 Tom Tromey <tromey@redhat.com> 2001-12-08 Tom Tromey <tromey@redhat.com>
* gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything
else.
* gjavah.c (print_namelet): Clear subnamelets. * gjavah.c (print_namelet): Clear subnamelets.
(HANDLE_METHOD): Set `method_printed' earlier. (HANDLE_METHOD): Set `method_printed' earlier.
......
...@@ -194,6 +194,7 @@ static int method_signature = 0; ...@@ -194,6 +194,7 @@ static int method_signature = 0;
{ \ { \
method_synthetic = 0; \ method_synthetic = 0; \
method_printed = 0; \ method_printed = 0; \
decompiled = 0; \
method_signature = SIGNATURE; \ method_signature = SIGNATURE; \
if (ATTRIBUTE_COUNT) \ if (ATTRIBUTE_COUNT) \
method_synthetic = peek_attribute (jcf, ATTRIBUTE_COUNT, \ method_synthetic = peek_attribute (jcf, ATTRIBUTE_COUNT, \
...@@ -209,7 +210,6 @@ static int method_signature = 0; ...@@ -209,7 +210,6 @@ static int method_signature = 0;
} \ } \
if (method_pass && !method_synthetic) \ if (method_pass && !method_synthetic) \
{ \ { \
decompiled = 0; \
if (out) \ if (out) \
print_method_info (out, jcf, NAME, SIGNATURE, \ print_method_info (out, jcf, NAME, SIGNATURE, \
ACCESS_FLAGS); \ ACCESS_FLAGS); \
......
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