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

index ee93828..069bac4 100644 (file)
@@ -214,7 +214,7 @@ ScopeParser.prototype = {
                     while (true) {
                         token = this.ts.nextTok();
                         
-                        if (token.name == "VAR") { // kludge..
+                        if (token.name != "VAR") { // kludge..
                             continue;
                         }
                         if (!token) { // can return false at EOF!