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

index fbd08af..252bdc7 100644 (file)
@@ -254,7 +254,7 @@ ScopeParser.prototype = {
                             //this.logR("parseScope DONE  : <B>ParseExpression</B> - tok is:" + this.ts.lookT(0).toString()); 
                             
                             
-                            if (this.ts.lookTok(0).data == ';') {
+                            if (token.data == ';') {
                                 break;
                             }
                         }