X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=a0d02bc0b283aa253bef29382c170e94e5c032ac;hp=d96546d1bae5e4cf40c047a821ddbd9b0e9ba906;hb=b7a44d56fcd63ee57ebd6e649f72b0f3a1304376;hpb=5ed307b3777313bcef4540112f171c629e5468d0 diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index d96546d..a0d02bc 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -328,6 +328,7 @@ ScopeParser.prototype = { case "PUNC.LEFT_CURLY": // { case "PUNC.LEFT_PAREN": // ( + case "PUNC.LEFT_BRACE": // ( //print('SCOPE-CURLY/PAREN:' + token.toString()); //println(""+token.data+""); var curTS = this.ts; @@ -348,7 +349,7 @@ ScopeParser.prototype = { // key value.. this.ts = new TokenStream(token.props[prop].val); - this.parseScope(false); + this.parseExpression(); } this.ts = curTS;