diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-03 11:09:44 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-03 11:09:44 +0200 |
| commit | b6b68b25043fc4008af6c7bfb4573593a858a9de (patch) | |
| tree | 4fdf4a1fc8030993f0fe3fe9829337c6548f212a /gcc/elna-diagnostic.cc | |
| parent | d9cd03ffeb13a5c30d8337ba27f15e1ba2959e4d (diff) | |
| download | elna-b6b68b25043fc4008af6c7bfb4573593a858a9de.tar.gz | |
Diffstat (limited to 'gcc/elna-diagnostic.cc')
| -rw-r--r-- | gcc/elna-diagnostic.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/elna-diagnostic.cc b/gcc/elna-diagnostic.cc index 162d6cb..fa32788 100644 --- a/gcc/elna-diagnostic.cc +++ b/gcc/elna-diagnostic.cc @@ -31,7 +31,7 @@ namespace elna::gcc linemap_add(line_table, LC_LEAVE, 0, NULL, 0); } - location_t get_location(const frontend::position *position) + location_t get_location(const boot::position *position) { linemap_line_start(line_table, position->line, 0); @@ -151,7 +151,7 @@ namespace elna::gcc gcc_unreachable(); } - void report_errors(const std::deque<std::unique_ptr<frontend::error>>& errors) + void report_errors(const std::deque<std::unique_ptr<boot::error>>& errors) { for (const auto& error : errors) { @@ -159,7 +159,7 @@ namespace elna::gcc if (error->position.line != 0 || error->position.column != 0) { - gcc_location = elna::gcc::get_location(&error->position); + gcc_location = get_location(&error->position); } error_at(gcc_location, error->what().c_str()); } |
