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

index a69d15d..87b124b 100644 (file)
@@ -728,20 +728,7 @@ ScopeParser.prototype = {
                     //print("in NAME = " + token.toString());
                     //print("in NAME 0: " + this.ts.look(0).toString());
                     //print("in NAME 2: " + this.ts.lookTok(2).toString());
-                    if (this.ts.look(0).data == "{"  && this.ts.lookTok(2).data == ":") {
-                        // then we are in an object lit.. -> we need to flag the brace as such...
-                        isObjectLitAr.pop();
-                        isObjectLitAr.push(true);
-                         //print(">>>>> EXP  PUSH(true)");
-                        break;
-                    }
                     
-                    isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];
-                    //print ("isInObjectLitAr : " + isInObjectLitAr + ' ' + token.toString());
-                    
-                    if (isInObjectLitAr && this.ts.lookTok(0).data == "," && this.ts.lookTok(2).data == ":") {
-                        break;
-                    }
                     //print(this.ts.lookTok(0).data);
                     if (this.ts.lookTok(0).data == ".") {
                         //skip '.'