diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs index 0b1b269f..95101d3c 100644 --- a/src/Generator/Driver.cs +++ b/src/Generator/Driver.cs @@ -97,7 +97,9 @@ namespace CppSharp hasParsingErrors = true; break; case ParserResultKind.FileNotFound: - Diagnostics.Error("A file from '{0}' was not found", string.Join(",", files)); + Diagnostics.Error("File{0} not found: '{1}'", + (files.Count() > 1) ? "s" : "", string.Join(",", files)); + hasParsingErrors = true; break; }