JSDOC/Scope.vala
[gnome.introspection-doc-generator] / JSDOC / Packer.vala
index cb87fee..fd3d634 100644 (file)
@@ -215,7 +215,7 @@ namespace JSDOC
                        }
                       
                                var loaded_string = false;
-                               string file_contents;
+                               string file_contents = "";
                        // debug Target
                        
                        if (this.targetDebugStream !=null) {
@@ -264,7 +264,7 @@ namespace JSDOC
                                FileUtils.get_contents(file,out file_contents);
                        }
 
-                       var str = this.packFile(file_contents, file, minfile);
+                        this.packFile(file_contents, file, minfile);
                         
                      
                    }
@@ -389,7 +389,7 @@ namespace JSDOC
 
                        //var ts = new TokenStream(toks);
                        //print(JSON.stringify(toks, null,4 )); Seed.quit();
-                       var ts = new Collapse(toks);
+                       var ts = new Collapse(toks.tokens);
                   // print(JSON.stringify(ts.tokens, null,4 )); Seed.quit();
                        //return;//
                        var sp = new ScopeParser(ts);
@@ -402,7 +402,7 @@ namespace JSDOC
                        //print(sp.warnings.join("\n"));
 
                
-                       var outf = CompressWhite(new TokenStream(toks), this, this.keepWhite); // do not kill whitespace..
+                       var outf = CompressWhite(new TokenStream(toks.tokens), this, this.keepWhite); // do not kill whitespace..