X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=7c77be0748d3c77f55576f1d68e431cec599771c;hb=75e06430ca5dcb9ec1aca8d4f9cc209fc37bcd0c;hp=36a0861f1e3f2b30994e6457811f5696f23b56a9;hpb=1c112ad8d5cecd0351642c79419edab08e1a9074;p=gnome.introspection-doc-generator diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 36a0861..7c77be0 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -176,6 +176,8 @@ ScopeParser.prototype = { this.globalScope.munge(); + this.globalScope.dump(); + }, @@ -362,7 +364,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 +375,7 @@ ScopeParser.prototype = { // _this.parseExpression(scope) //} - }); + } this.ts = curTS; //print("NOT PROPS"); Seed.quit(); @@ -956,4 +960,4 @@ ScopeParser.prototype = { } return false; } -}; \ No newline at end of file +};