OSDN Git Service

2009-07-31 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2009 17:55:11 +0000 (17:55 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2009 17:55:11 +0000 (17:55 +0000)
commit444e42cce08b2c2886b81241961bf271d1e77b1e
tree2b8fe4e8aa3a69488ece71fb4cb159ce67c494f1
parent5ae3ee4eb885804425fcdd1a19c0093b7469c3fa
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150376 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/decl.c