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
This commit is contained in:
Andrew Haley 2006-02-23 10:34:38 +00:00 committed by Andrew Haley
parent ed965309da
commit b9e6e5887a
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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;