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

index 15f24ad..35bfdcb 100644 (file)
@@ -247,7 +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;
+                    var vstart = this.ts.cursor +1;
                     
                     //this.log("parseScope GOT VAR/CONST : " + token.toString()); 
                     while (true) {