From bb6445f69b6c3bc5dba127f1327619ff8d06edb4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 12:47:31 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.2