diff options
author | Andrew Haley <aph@redhat.com> | 2006-02-23 10:39:18 +0000 |
---|---|---|
committer | Andrew Haley <aph@redhat.com> | 2006-02-23 10:39:18 +0000 |
commit | e9597daa742f2eca1491f36b909accaece64f2b0 (patch) | |
tree | 2469966a4cf7a3d03d346b51b7dfca00ebe253c8 | |
parent | c322b738617a1a632e5da0adc69ab9f67114bf67 (diff) |
2006-02-20 Andrew Haley <aph@redhat.com>
* jcf-parse.c (parse_class_file): Set input_location from
current_class.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcj/gcj-abi-experimental-branch@111384 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index baf89cb3693..3a36b6b766b 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2006-02-20 Andrew Haley <aph@redhat.com> + + * jcf-parse.c (parse_class_file): Set input_location from + current_class. + 2006-02-09 Andrew Haley <aph@redhat.com> PR java/26192 diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 552c04ac943..b9d52b61f8c 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -898,7 +898,7 @@ parse_class_file (void) continue; } - input_location = file_start_location; + input_location = DECL_SOURCE_LOCATION (TYPE_NAME (current_class)); if (DECL_LINENUMBERS_OFFSET (method)) { int i; |