egcs/gcc/java ChangeLog class.c java-tree.h pa ...

apbianco@gcc.gnu.org apbianco@gcc.gnu.org
Thu Jun 1 00:44:00 GMT 2000


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	apbianco@sourceware.cygnus.com	00/06/01 00:44:58

Modified files:
	gcc/java       : ChangeLog class.c java-tree.h parse.c parse.h 
	                 parse.y 

Log message:
	2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	
	* class.c (common_enclosing_context_p): New function.
	* java-tree.h (common_enclosing_context_p): Added prototype.
	* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Relaxed test to allow
	classes sharing an outer context with the current instance.
	* parse.y (build_access_to_thisn): Fixed leading comment.
	(verify_constructor_super): New local `supper_inner'. Skip
	enclosing context argument in the case of inner class constructors.
	(patch_method_invocation): Insert proper context as second
	parameter to pure inner class constructor super invocations.
	
	This fixes the Java PR #177.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.449&r2=1.450
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/class.c.diff?cvsroot=gcc&r1=1.67&r2=1.68
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/java-tree.h.diff?cvsroot=gcc&r1=1.71&r2=1.72
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/parse.c.diff?cvsroot=gcc&r1=1.159&r2=1.160
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/parse.h.diff?cvsroot=gcc&r1=1.52&r2=1.53
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.173&r2=1.174



More information about the Gcc-cvs mailing list