JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 17947d4..55ea5fc 100644 (file)
@@ -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..