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

index 18e7f7d..749866a 100644 (file)
@@ -163,7 +163,7 @@ ScopeParser.prototype = {
         this.ts.rewind();
         this.braceNesting = 0;
         this.scopes= [];
-        this.mode = 'CHECKING_SYMBOL_TREE';
+        this.mode = 'MUNGING_SYMBOL_TREE';
         
         //println("MUNGING?");
         
@@ -369,7 +369,7 @@ ScopeParser.prototype = {
                         break;
                     }
                     symbol = token.data;
-                     if (this.mode == 'CHECKING_SYMBOL_TREE') {
+                    if (this.mode == 'MUNGING_SYMBOL_TREE') {
                         
                         //println("GOT IDENT: -2 : " + this.ts.lookT(-2).toString() + " <BR> ..... -1 :  " +  this.ts.lookT(-1).toString() + " <BR> ");