Create a generic type for types with an error list
This commit is contained in:
@ -290,6 +290,6 @@ defer {
|
||||
std::stringstream ss;
|
||||
|
||||
ss << "Illegal character 0x" << std::hex << static_cast<unsigned int>(yytext[0]);
|
||||
driver.error(this->location, ss.str());
|
||||
driver.add_error<elna::boot::syntax_error>(ss.str(), driver.input_file, this->location);
|
||||
}
|
||||
%%
|
||||
|
Reference in New Issue
Block a user