diff options
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r-- | gcc/java/jcf-parse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index ff2c999..a544163 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -1586,6 +1586,13 @@ parse_class_file (void) java_layout_seen_class_methods (); input_location = DECL_SOURCE_LOCATION (TYPE_NAME (current_class)); +#ifdef USE_MAPPED_LOCATION + { + /* Re-enter the current file. */ + expanded_location loc = expand_location (input_location); + linemap_add (line_table, LC_ENTER, 0, loc.file, loc.line); + } +#endif file_start_location = input_location; (*debug_hooks->start_source_file) (input_line, input_filename); |