X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;fp=JSDOC%2FScopeParser.js;h=bd5a5381275417f5b43fbf91bebe7b959509b7f6;hp=36a0861f1e3f2b30994e6457811f5696f23b56a9;hb=74f63aeb406185e251162a5accefa6ac341f3d26;hpb=0bae34ad445fe0e0bda602c4185615c5680ee626 diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 36a0861..bd5a538 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[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 +};