JSDOC/Scope.js
[gnome.introspection-doc-generator] / JSDOC / Scope.js
index f65f8b1..6b63663 100644 (file)
@@ -25,7 +25,8 @@ function Scope(braceN, parent, startTokN, lastIdent, token)
     this.ident = lastIdent;
     this.gid = Scope.gid++;
     
-    print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP'));
+    //print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP') + ' : ' + 
+    //    (token ? token.toString() : ''));
     
     if (parent) {
         this.parent.subScopes.push(this);
@@ -78,10 +79,10 @@ Scope.prototype = {
                 return false;
             }
             
-            print("SCOPE : " + this.gid +" = SYMBOL NOT FOUND?" + token.toString());
+            //print("SCOPE : " + this.gid +" = SYMBOL NOT FOUND?" + token.toString());
             return false;
         }
-         print("SCOPE : " + this.gid +" = FOUND:" + token.toString());
+         //print("SCOPE : " + this.gid +" = FOUND:" + token.toString());
         return this.identifiers[symbol];
     },
     
@@ -238,7 +239,7 @@ Scope.prototype = {
                 
                 if (!repsym.length) {
                     if (!freeSymbols.length) {
-                        addSyms(JSDOC.Scope.twos); 
+                        addSyms(Scope.twos); 
                     }
                     repsym = freeSymbols.shift(); // pop off beginngin???
                 }