From ce4f2a3c093ce80fe5ba1620254e54f6a20b50bd Mon Sep 17 00:00:00 2001 From: aph Date: Thu, 23 Feb 2006 10:34:38 +0000 Subject: [PATCH] 2006-02-20 Andrew Haley * 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 | 5 +++++ gcc/java/jcf-parse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.11.0