* usefull for debugging compressed files.
*/
- public bool keepWhite = true;
+ public bool keepWhite = false;
// list of files to compile...
}
}
- print("Output file: " + this.target);
+ if (this.target.length > 0 ) {
+ print("Output file: " + this.target);
+ }
if (this.targetDebug.length > 0) {
- print("Output debug file: " + this.targetDebug);
- }
-
+ print("Output debug file: %s\n" , this.targetDebug);
+ }
+
+ if (this.outstr.length > 0 ) {
+ print(this.outstr);
+ }
var outf = CompressWhite(new TokenStream(toks.tokens), this, this.keepWhite); // do not kill whitespace..
-
+ print("RESULT: \n %s\n", outf);
if (outf.length > 0) {
FileUtils.set_contents(minfile, outf);
- } else {
+ }
return outf;