JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:55:51 +0000 (13:55 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:55:51 +0000 (13:55 +0800)
JSDOC/ScopeParser.js

index f66bc50..d3daaed 100644 (file)
@@ -533,7 +533,7 @@ ScopeParser.prototype = {
                     
                      if (this.mode == 'BUILDING_SYMBOL_TREE') {
 
                     
                      if (this.mode == 'BUILDING_SYMBOL_TREE') {
 
-                        if (symbol == "eval") {
+                        if (token.name == "EVAL") {
                             
                             print(JSON.stringify(token, null,4));
                             // look back one and see if we can find a comment!!!
                             
                             print(JSON.stringify(token, null,4));
                             // look back one and see if we can find a comment!!!