From: Andrew Haley Date: Thu, 23 Feb 2006 10:34:38 +0000 (+0000) Subject: jcf-parse.c (parse_class_file): Set input_location from current_class. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9e6e5887ad007447eaaf1dcca7c17cd25c044ca;p=gcc.git jcf-parse.c (parse_class_file): Set input_location from current_class. 2006-02-20 Andrew Haley * jcf-parse.c (parse_class_file): Set input_location from current_class. From-SVN: r111383 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3d811375a9a..49bfd3df374 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2006-02-20 Andrew Haley + + * jcf-parse.c (parse_class_file): Set input_location from + current_class. + 2006-02-15 Andrew Haley * 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 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;