printWarnings(inputfileName, rootInputFile, ex.getPartialResult());
reportErrors(ex, inputfileName, rootInputFile);
}
public void reportErrors(Less4jException ex, String inputfileName, File rootInputFile) {
SourceNamePrinter sourceNamePrinter = new RelativeFileSourceNamePrinter(rootInputFile);
ProblemsPrinter problemsPrinter = new ProblemsPrinter(sourceNamePrinter);
if (!ex.getErrors().isEmpty())
standardErr.println("Errors produced by compilation of " + inputfileName);