Commit 8ac1de05 by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

parse.y (register_incomplete_type): Include JDEP_FIELD as a case where an…

parse.y (register_incomplete_type): Include JDEP_FIELD as a case where an enclosing context can be set on the jdep.

2000-10-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (register_incomplete_type): Include JDEP_FIELD as a case
	where an enclosing context can be set on the jdep.
	(do_resolve_class): Fixed identation.

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00824.html)

From-SVN: r37045
parent e004f2f7
2000-10-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (register_incomplete_type): Include JDEP_FIELD as a case
where an enclosing context can be set on the jdep.
(do_resolve_class): Fixed identation.
2000-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gjavah.c (NEED_PEEK_ATTRIBUTE, NEED_SKIP_ATTRIBUTE): Define * gjavah.c (NEED_PEEK_ATTRIBUTE, NEED_SKIP_ATTRIBUTE): Define
......
...@@ -4998,7 +4998,8 @@ register_incomplete_type (kind, wfl, decl, ptr) ...@@ -4998,7 +4998,8 @@ register_incomplete_type (kind, wfl, decl, ptr)
JDEP_MISC (new) = NULL_TREE; JDEP_MISC (new) = NULL_TREE;
/* For some dependencies, set the enclosing class of the current /* For some dependencies, set the enclosing class of the current
class to be the enclosing context */ class to be the enclosing context */
if ((kind == JDEP_SUPER || kind == JDEP_INTERFACE || kind == JDEP_ANONYMOUS) if ((kind == JDEP_SUPER || kind == JDEP_INTERFACE
|| kind == JDEP_ANONYMOUS || kind == JDEP_FIELD)
&& GET_ENCLOSING_CPC ()) && GET_ENCLOSING_CPC ())
JDEP_ENCLOSING (new) = TREE_VALUE (GET_ENCLOSING_CPC ()); JDEP_ENCLOSING (new) = TREE_VALUE (GET_ENCLOSING_CPC ());
else else
......
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