JSDOC/Walker2.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 14:57:12 +0000 (22:57 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 6 Jul 2010 14:57:12 +0000 (22:57 +0800)
JSDOC/Walker2.js

index 61f7c3b..cb81e37 100644 (file)
@@ -71,6 +71,7 @@ Walker2 = XObject.define(
             
             this.mode = 'BUILDING_SYMBOL_TREE';
             this.parseScope(this.globalScope);
+            print(JSON.stringify(this.globalScope, null,4));
         },
         
 
@@ -363,7 +364,7 @@ Walker2 = XObject.define(
                         
                         this.ts.nextTok(); /// ,
                         this.ts.nextTok(); // {
-                            scopeName = fixAlias(scopeName);
+                        scopeName = fixAlias(scopeName);
                         var fnScope = new Scope(this.braceNesting, scope, token.n, scopeName);
                         this.indexedScopes[this.ts.cursor] = fnScope;
                         scope = fnScope;