log filename in parse errors / compressor warnings

This commit is contained in:
Mihai Bazon
2012-09-21 14:38:52 +03:00
parent 5491e1d7b1
commit ec7f895b54
3 changed files with 30 additions and 23 deletions

View File

@@ -92,9 +92,6 @@ var output = UglifyJS.OutputStream({
});
files.forEach(function(file) {
if (ARGS.v) {
sys.error("Parsing " + file);
}
var code = read_whole_file(file);
if (ARGS.p != null) {
file = file.replace(/^\/+/, "").split(/\/+/).slice(ARGS.p).join("/");