From 470bfba45661d19558c0bf43b7819696a925ecb4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 6 Jul 2026 10:44:15 +0200 Subject: Fix compiler crashing on syntax errors after error reporting. --- boot/result.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'boot/result.cc') diff --git a/boot/result.cc b/boot/result.cc index dab82f4..2222bd5 100644 --- a/boot/result.cc +++ b/boot/result.cc @@ -19,8 +19,8 @@ along with GCC; see the file COPYING3. If not see namespace elna::boot { - error::error(const char *path, const struct position position) - : position(position), path(path) + error::error(const struct position position) + : position(position) { } @@ -34,11 +34,6 @@ namespace elna::boot return this->position.column; } - error_container::error_container(const char *input_file) - : input_file(input_file) - { - } - std::deque>& error_container::errors() { return m_errors; -- cgit v1.2.3