JSDOC/Packer.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 07:33:39 +0000 (15:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 07:33:39 +0000 (15:33 +0800)
JSDOC/Packer.js

index edce427..7dae913 100644 (file)
@@ -333,8 +333,10 @@ Packer.prototype = {
         // and replace if we are generating a different language..
         
         this.timerPrint("Tokenized");
+        var ts = new TokenStream(toks);
+        ts.dump();
         //return;//
-        var sp = new ScopeParser(new TokenStream(toks));
+        var sp = new ScopeParser(ts);
         this.timerPrint("Converted to Parser");
         sp.packer = this;
         sp.buildSymbolTree();