From: Alan Knowles Date: Fri, 16 Jul 2010 04:47:31 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=bb6445f69b6c3bc5dba127f1327619ff8d06edb4 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 008eca1..a4944d6 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -864,7 +864,9 @@ ScopeParser.prototype = { if (token.name == "RETURN") { token = this.ts.nextTok(); } - + if (token.name == "FUNCTION") { + token = this.ts.nextTok(); + } //assert token.getType() == Token.LP; if (this.mode == 'BUILDING_SYMBOL_TREE') { fnScope = new Scope(1, currentScope, token.n, '', token);