JSDOC/Scope.js
[gnome.introspection-doc-generator] / JSDOC / Scope.js
index 8c5e725..345da99 100644 (file)
@@ -170,13 +170,16 @@ Scope.prototype = {
         }
         
 
-        //println("MUNGE: Scope:" + this.id+"</BR>");
+        
         
         var pickFromSet = 1;
 
         // Do not munge symbols in the global scope!
         if (this.parent) {
-
+            print("MUNGE: SCOPE");
+            for (var i in this.identifiers) {
+                print("MUNGE VAR:" + i);
+            }
             
             //println("MUNGE: Building FreeSyms:" + this.id+"</BR>");
             
@@ -192,9 +195,8 @@ Scope.prototype = {
                     freeSymbols.push(batch[i]);
                 }
             }
-            
-            */
-            addSyms(JSDOC.Scope.ones); 
+             
+            addSyms(Scope.ones); 
              
             var repsym = '';
             //println(freeSymbols.toSource());
@@ -234,7 +236,7 @@ Scope.prototype = {
                 //println([     repsym,mungedValue ]);
                 
                 if (this.mungeM && repsym.length < mungedValue.length) {
-                    //println("REPLACE:"+ mungedValue +" with " + repsym + "<BR>");
+                    println("REPLACE:"+ mungedValue +" with " + repsym + "<BR>");
                     mungedValue = repsym;
                     repsym = '';
                 }
@@ -251,7 +253,7 @@ Scope.prototype = {
     }
  
 
-});
+};