*** empty log message ***
This commit is contained in:
parent
bdd0dcf39d
commit
f1d5716b95
1 changed files with 1 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ unsigned int textual_parser_t::parse(std::istream& in,
|
||||||
err->context.push_front(new file_context(path, linenum - 1));
|
err->context.push_front(new file_context(path, linenum - 1));
|
||||||
|
|
||||||
std::cout.flush();
|
std::cout.flush();
|
||||||
if (errors > 0)
|
if (errors > 0 && err->context.size() > 1)
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
err->reveal_context(std::cerr, "Error");
|
err->reveal_context(std::cerr, "Error");
|
||||||
std::cerr << err->what() << std::endl;
|
std::cerr << err->what() << std::endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue