Add file name to error output
This commit is contained in:
parent
3998d6154e
commit
ca5623b43d
6 changed files with 40 additions and 14 deletions
|
|
@ -545,7 +545,7 @@ std::unique_ptr<cpp_file> libclang_parser::do_parse(const cpp_entity_index& idx,
|
|||
}
|
||||
catch (detail::parse_error& ex)
|
||||
{
|
||||
logger().log("libclang parser", ex.get_diagnostic());
|
||||
logger().log("libclang parser", ex.get_diagnostic(path));
|
||||
set_error();
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue