From 70f564fe58600e14b99601796d40b4aee91bf544 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 1 Nov 2022 22:28:44 +0100 Subject: [PATCH] Error: Add reminder FIXME --- src/Error.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Error.cpp b/src/Error.cpp index 3b8ec07..e190f09 100644 --- a/src/Error.cpp +++ b/src/Error.cpp @@ -37,6 +37,8 @@ void Error::show_import_lines(const Location& loc, void (*import_line_printer)(c } } +// FIXME: Seems like the cursor that indicates where the error is is a bit offset to the right. + [[noreturn]] void Error::throw_error(const Location& loc, const std::string line_text, const std::string& details) { show_import_lines(loc, show_import_line, std::cerr);