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

index 1e75450..d54995f 100644 (file)
@@ -221,7 +221,7 @@ ScopeParser.prototype = {
                             break;
                         }
                         //this.logR("parseScope GOT VAR  : <B>" + token.toString() + "</B>"); 
-                        if (token.type @="NAME") {
+                        if (token.type !="NAME") {
                             println(token.toString());
                             throw "var without ident";
                         }