From: Alan Knowles Date: Fri, 16 Jul 2010 04:47:14 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=3002a1f318fb7d0caa4641992fa6fc83a24b2386 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index ce21a87..008eca1 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -860,6 +860,10 @@ ScopeParser.prototype = { } token = this.ts.nextTok(); } + // return function() {.... + if (token.name == "RETURN") { + token = this.ts.nextTok(); + } //assert token.getType() == Token.LP; if (this.mode == 'BUILDING_SYMBOL_TREE') {