Fixed missing usages of new output format.
This commit is contained in:
@@ -32,7 +32,8 @@ void translate(const std::vector<std::string> &fileNames, Context &context)
|
||||
|
||||
void translate(const char *fileName, std::istream &stream, Context &context)
|
||||
{
|
||||
std::cout << "info: reading " << fileName << std::endl;
|
||||
// TODO: refactor
|
||||
context.logger.log(output::Priority::Note, (std::string("reading ") + fileName).c_str());
|
||||
|
||||
auto fileContent = std::string(std::istreambuf_iterator<char>(stream), {});
|
||||
|
||||
|
Reference in New Issue
Block a user