Create a generic type for types with an error list
This commit is contained in:
@ -35,5 +35,15 @@ namespace 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user