JSDOC/ScopeParser.vala
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index 3ba1366..a901db0 100644 (file)
@@ -877,10 +877,10 @@ namespace JSDOC {
                 
            }
            
-           
+           Scope fnScope;
            //assert token.getType() == Token.LP;
            if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
-               var fnScope = new Scope(1, scope, token.n, '', token);
+               fnScope = new Scope(1, scope, token.n, '', token);
                
                //println("STORING SCOPE" + this.ts.cursor);