aboutsummaryrefslogtreecommitdiff
path: root/boot/result.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-06 10:44:15 +0200
committerEugen Wissner <belka@caraus.de>2026-07-07 00:47:59 +0200
commit470bfba45661d19558c0bf43b7819696a925ecb4 (patch)
tree44eef131a3edca1cc5489fa45851a5d5685ec530 /boot/result.cc
parent8ea930783d15c04bbe9a027eaf19ca10e2cd87c0 (diff)
downloadelna-470bfba45661d19558c0bf43b7819696a925ecb4.tar.gz
Fix compiler crashing on syntax errors
after error reporting.
Diffstat (limited to 'boot/result.cc')
-rw-r--r--boot/result.cc9
1 files changed, 2 insertions, 7 deletions
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<std::unique_ptr<error>>& error_container::errors()
{
return m_errors;