JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 36a0861..bd5a538 100644 (file)
@@ -362,7 +362,9 @@ ScopeParser.prototype = {
                     // ( ... ) or { .... } not object literals..
                     
                     var _this = this;
-                    token.items.forEach(function(expr) {
+                   for (var xx =0; xx < token.items.length; xx++) {
+                               expr = token.items[i];
+                    //token.items.forEach(function(expr) {
                             //print(expr.toString());
                            _this.ts = new TokenStream(expr);
                             //if (curTS.data == '(') {
@@ -371,7 +373,7 @@ ScopeParser.prototype = {
                               //  _this.parseExpression(scope)
                             //}
                           
-                    });
+                    }  
                     this.ts = curTS;
                     //print("NOT PROPS"); Seed.quit();
                     
@@ -956,4 +958,4 @@ ScopeParser.prototype = {
         }
         return false;
     }
-};
\ No newline at end of file
+};