diff options
author | Andrew Haley <aph@redhat.com> | 2006-02-23 10:34:38 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2006-02-23 10:34:38 +0000 |
commit | b9e6e5887ad007447eaaf1dcca7c17cd25c044ca (patch) | |
tree | eb153fcd5023acc3a0998491e8aecd41177c5cb9 /gcc/java | |
parent | ed965309dad6553ada999c70724c57817ac1eb36 (diff) | |
download | gcc-b9e6e5887ad007447eaaf1dcca7c17cd25c044ca.zip gcc-b9e6e5887ad007447eaaf1dcca7c17cd25c044ca.tar.gz gcc-b9e6e5887ad007447eaaf1dcca7c17cd25c044ca.tar.bz2 |
jcf-parse.c (parse_class_file): Set input_location from current_class.
2006-02-20 Andrew Haley <aph@redhat.com>
* jcf-parse.c (parse_class_file): Set input_location from
current_class.
From-SVN: r111383
Diffstat (limited to 'gcc/java')
-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 3d81137..49bfd3d 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-15 Andrew Haley <aph@redhat.com> * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 552c04a..b9d52b6 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; |