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

index 43e5fa5..08d697d 100644 (file)
@@ -213,7 +213,7 @@ ScopeParser.prototype = {
                     //this.log("parseScope GOT VAR/CONST : " + token.toString()); 
                     while (true) {
                         token = this.ts.nextTok();
-                        this.debug|| print( token.toString());
+                        !this.debug|| print( token.toString());
                       
                         if (!token) { // can return false at EOF!
                             break;
@@ -241,7 +241,7 @@ ScopeParser.prototype = {
                         }
 
                         token = this.ts.nextTok();
-                         this.debug|| print(token.toString());
+                        !this.debug|| print(token.toString());
                         /*
                         assert token.getType() == Token.SEMI ||
                                 token.getType() == Token.ASSIGN ||
@@ -255,7 +255,7 @@ ScopeParser.prototype = {
                             //this.logR("parseScope DONE  : <B>ParseExpression</B> - tok is:" + this.ts.lookT(0).toString()); 
                             
                             token = this.ts.lookTok(1);
-                            this.debug|| print("AFTER EXP: " + token.toString());
+                            !this.debug|| print("AFTER EXP: " + token.toString());
                             if (token.data == ';') {
                                 break;
                             }