JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:38:19 +0000 (15:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 07:38:19 +0000 (15:38 +0800)
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..