printWarnings(lessFileName, rootLessFile, content);
}
public void printWarnings(String inputfileName, File rootInputFile, CompilationResult content) {
SourceNamePrinter sourceNamePrinter = new RelativeFileSourceNamePrinter(rootInputFile);
ProblemsPrinter problemsPrinter = new ProblemsPrinter(sourceNamePrinter);
if (!content.getWarnings().isEmpty())
standardErr.println("Warnings produced by compilation of " + inputfileName);
String warnings = problemsPrinter.printWarnings(content.getWarnings());
standardErr.print(warnings);
}