JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:55:20 +0000 (16:55 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:55:20 +0000 (16:55 +0800)
JSDOC/ScopeParser.js

index b77f6ee..79ff103 100644 (file)
@@ -858,7 +858,7 @@ ScopeParser.prototype = {
 
         //assert token.getType() == Token.LP;
         if (this.mode == 'BUILDING_SYMBOL_TREE') {
-            fnScope = new Scope(1, currentScope, token.n, '');
+            fnScope = new Scope(1, currentScope, token.n, '', token);
             
             //println("STORING SCOPE" + this.ts.cursor);