r150376 - in /trunk/gcc/java: ChangeLog decl.c
aph@gcc.gnu.org
aph@gcc.gnu.org
Mon Aug 3 17:55:00 GMT 2009
Author: aph
Date: Mon Aug 3 17:55:11 2009
New Revision: 150376
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150376
Log:
2009-07-31 Andrew Haley <aph@redhat.com>
PR java/40867
* decl.c (java_replace_references): Set EXPR_LOCATION on all
generated expressions.
(binding_level.loc): new field.
(clear_binding_level): Initialize loc.
(set_input_location): New function.
(pushlevel): Set new binding_level.loc.
(poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
(start_java_method): Set DECL_SOURCE_LOCATION of this new method.
(java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.
Modified:
trunk/gcc/java/ChangeLog
trunk/gcc/java/decl.c
More information about the Gcc-cvs
mailing list