OSDN Git Service

2006-02-20 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Feb 2006 10:34:38 +0000 (10:34 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Feb 2006 10:34:38 +0000 (10:34 +0000)
        * jcf-parse.c (parse_class_file): Set input_location from
        current_class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111383 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/jcf-parse.c

index 3d81137..49bfd3d 100644 (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.
index 552c04a..b9d52b6 100644 (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;