JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 07:44:40 +0000 (15:44 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 07:44:40 +0000 (15:44 +0800)
JSDOC/ScopeParser.js

index eb04b0b..07799e5 100644 (file)
@@ -163,7 +163,7 @@ ScopeParser.prototype = {
         this.ts.rewind();
         this.braceNesting = 0;
         this.scopes= [];
-        this.mode = 'MUNGING_SYMBOL_TREE';
+        this.mode = 'PASS2_SYMBOL_TREE';
         
         //println("MUNGING?");
         
@@ -369,11 +369,11 @@ ScopeParser.prototype = {
                         break;
                     }
                     symbol = token.data;
-                    if (this.mode == 'MUNGING_SYMBOL_TREE') {
+                    if (this.mode == 'PASS2_SYMBOL_TREE') {
                         
                         //println("GOT IDENT: -2 : " + this.ts.lookT(-2).toString() + " <BR> ..... -1 :  " +  this.ts.lookT(-1).toString() + " <BR> "); 
                         
-                        print ("MUNGE?" + symbol);
+                        //print ("MUNGE?" + symbol);
                         
                         //println("GOT IDENT: <B>" + symbol + "</B><BR/>");
                              
@@ -569,7 +569,7 @@ ScopeParser.prototype = {
                         break;
                     }
                     
-                     if (this.mode == 'MUNGING_SYMBOL_TREE') {
+                     if (this.mode == 'PASS2_SYMBOL_TREE') {
 
                         identifier = this.getIdentifier(symbol, currentScope);
                         //println("<B>??</B>");