Commit b4bbc8b7 by Diego Novillo Committed by Diego Novillo

jcf-reader.c: Don't expand JCF_readu4 inside the expansion of JCF_SKIP.


	* jcf-reader.c: Don't expand JCF_readu4 inside the
	expansion of JCF_SKIP.

From-SVN: r59459
parent b82ddab4
2002-11-25 Diego Novillo <dnovillo@redhat.com>
* jcf-reader.c: Don't expand JCF_readu4 inside the
expansion of JCF_SKIP.
2002-11-22 Tom Tromey <tromey@redhat.com> 2002-11-22 Tom Tromey <tromey@redhat.com>
* parse.y (patch_binop): Cast right hand side of shift expression * parse.y (patch_binop): Cast right hand side of shift expression
......
...@@ -96,9 +96,11 @@ skip_attribute (jcf, number_of_attribute) ...@@ -96,9 +96,11 @@ skip_attribute (jcf, number_of_attribute)
{ {
while (number_of_attribute--) while (number_of_attribute--)
{ {
JCF_u4 N;
JCF_FILL (jcf, 6); JCF_FILL (jcf, 6);
(void) JCF_readu2 (jcf); (void) JCF_readu2 (jcf);
JCF_SKIP (jcf, JCF_readu4 (jcf)); N = JCF_readu4 (jcf);
JCF_SKIP (jcf, N);
} }
} }
#endif #endif
......
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