From: Alan Knowles Date: Thu, 15 Jul 2010 07:38:19 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=6e63a04f45ae21413c8712049bdb86a955d0c5ed JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 17947d4..55ea5fc 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -333,7 +333,9 @@ ScopeParser.prototype = { print('SCOPE-PROPS:' + JSON.stringify(token.props[prop],null,4)); if (token.props[prop].val[0].data == 'function') { // parse a function.. - this.parseFunctProp(token.props[prop]); + this.ts = new TokenStream(token.props[prop].val); + this.parseFunctionDeclaration(); + continue; } // key value..