diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-06 10:44:15 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-07 00:47:59 +0200 |
| commit | 470bfba45661d19558c0bf43b7819696a925ecb4 (patch) | |
| tree | 44eef131a3edca1cc5489fa45851a5d5685ec530 /boot/lexer.ll | |
| parent | 8ea930783d15c04bbe9a027eaf19ca10e2cd87c0 (diff) | |
| download | elna-470bfba45661d19558c0bf43b7819696a925ecb4.tar.gz | |
Fix compiler crashing on syntax errors
after error reporting.
Diffstat (limited to 'boot/lexer.ll')
| -rw-r--r-- | boot/lexer.ll | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned int>(yytext[0]); - driver.add_error<syntax_error>(ss.str(), driver.input_file, this->location); + driver.add_error<syntax_error>(ss.str(), this->location); } %% |
