JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index d85cf7a..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));
         },
         
 
@@ -348,7 +349,7 @@ Walker2 = XObject.define(
                         ) {
                         this.ts.nextTok(); /// (
                          
-                        print("GOT : applyIF!"); 
+                        //print("GOT : applyIF!"); 
                          
                         token = this.ts.nextTok(); // b
                         scopeName = token.data;
@@ -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;