JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:46:21 +0000 (17:46 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:46:21 +0000 (17:46 +0800)
JSDOC/ScopeParser.js

index c5b606d..4242ec6 100644 (file)
@@ -582,6 +582,7 @@ ScopeParser.prototype = {
                 case 'NAME':
                
                     symbol = token.data;
+                    this.ts.nextTok();
                     if (this.ts.lookTok(-1).data == "{"  && this.ts.lookTok(1).data == ":") {
                         // then we are in an object lit.. -> we need to flag the brace as such...
                         isObjectLitAr.pop();