X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=a35790efc75602cb8687a971827e9d428055ef09;hb=4874ad3e1d08502e88986231f3de271795ca2302;hp=36a0861f1e3f2b30994e6457811f5696f23b56a9;hpb=1c112ad8d5cecd0351642c79419edab08e1a9074;p=gnome.introspection-doc-generator diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 36a0861..a35790e 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -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[xx]; + //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 +};