Commit b9e6e588 by Andrew Haley Committed by Andrew Haley

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
parent ed965309
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> 2006-02-15 Andrew Haley <aph@redhat.com>
* class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
......
...@@ -898,7 +898,7 @@ parse_class_file (void) ...@@ -898,7 +898,7 @@ parse_class_file (void)
continue; continue;
} }
input_location = file_start_location; input_location = DECL_SOURCE_LOCATION (TYPE_NAME (current_class));
if (DECL_LINENUMBERS_OFFSET (method)) if (DECL_LINENUMBERS_OFFSET (method))
{ {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment