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

index dc9f547..c306d9a 100644 (file)
@@ -213,7 +213,7 @@ ScopeParser.prototype = {
                     //this.log("parseScope GOT VAR/CONST : " + token.toString()); 
                     while (true) {
                         token = this.ts.nextTok();
-                         print(token.toString());
+                        print( token.toString());
                       
                         if (!token) { // can return false at EOF!
                             break;
@@ -254,7 +254,7 @@ ScopeParser.prototype = {
                             this.parseExpression();
                             //this.logR("parseScope DONE  : <B>ParseExpression</B> - tok is:" + this.ts.lookT(0).toString()); 
                             
-                            
+                            token = this.ts.lookTok(0);
                             if (token.data == ';') {
                                 break;
                             }