JSDOC/Packer.vala
[gnome.introspection-doc-generator] / JSDOC / Packer.vala
index 6638192..e4a54b8 100644 (file)
@@ -268,7 +268,7 @@ namespace JSDOC
                            
                        }
                         
-                       print("COMPRESSING ");
+                       print("COMPRESSING to %s\n", minfile);
                        //var codeComp = pack(str, 10, 0, 0);
                        if (FileUtils.test (minfile, FileTest.EXISTS)) {
                            FileUtils.remove(minfile);
@@ -356,10 +356,7 @@ namespace JSDOC
                        //print(JSON.stringify(toks, null,4 )); Seed.quit();
                        var ts = new Collapse(toks.tokens);
                        
-                       ts.dumpAll("");
-                       
-                       print("Done collaps");
-                       GLib.Process.exit(1);
+                       //ts.dumpAll("");                       print("Done collaps"); Process.exit(1);
                        
                   // print(JSON.stringify(ts.tokens, null,4 )); Seed.quit();
                        //return;//
@@ -376,12 +373,13 @@ namespace JSDOC
                        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);
                                 
-                       }
+                       }  
+
                
                        return outf;