JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 05:20:57 +0000 (13:20 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 05:20:57 +0000 (13:20 +0800)
JSDOC/ScopeParser.js

index 83c74d1..130ab2a 100644 (file)
@@ -247,6 +247,7 @@ ScopeParser.prototype = {
                 case "KEYW.VAR":
                 case "KEYW.CONST": // not really relivant as it's only mozzy that does this.
                     
+                    var vstart = this.ts.cursor;
                     
                     //this.log("parseScope GOT VAR/CONST : " + token.toString()); 
                     while (true) {
@@ -306,6 +307,10 @@ ScopeParser.prototype = {
                             }
                         }
                     }
+                    
+                    
+                    this.ts.dump(vstart , this.ts.cursor);
+                    
                     break;
                 case "KEYW.FUNCTION":
                     //println("<i>"+token.data+"</i>");