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/lexer.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/lexer.ll') diff --git a/boot/lexer.ll b/boot/lexer.ll index fac70f0..4f9fed7 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -309,6 +309,6 @@ of { std::stringstream ss; ss << "Illegal character 0x" << std::hex << static_cast(yytext[0]); - driver.add_error(ss.str(), driver.input_file, this->location); + driver.add_error(ss.str(), this->location); } %% -- cgit v1.2.3