This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] Patch: FYI: annotate 'try' statement
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 23 Mar 2005 19:23:03 -0700
- Subject: [gcjx] Patch: FYI: annotate 'try' statement
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcjx branch.
This annotates 'try' statements with source location information.
I should probably do a complete pass to update this everywhere.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* tree.cc (visit_try): Annotate statement.
Index: tree.cc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/tree.cc,v
retrieving revision 1.1.2.18
diff -u -r1.1.2.18 tree.cc
--- tree.cc 24 Mar 2005 02:24:53 -0000 1.1.2.18
+++ tree.cc 24 Mar 2005 02:25:25 -0000
@@ -851,6 +851,7 @@
}
current = result;
+ annotate (current, trystmt);
}
void