JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 06:06:59 +0000 (14:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 06:06:59 +0000 (14:06 +0800)
JSDOC/ScopeParser.js

index fb787b9..6131c21 100644 (file)
@@ -526,7 +526,7 @@ ScopeParser.prototype = {
                     if (token.type != 'KEYW') {
                         break;
                     }
-                    print('SCOPE-KEYW:' + token.toString());
+                    //print('SCOPE-KEYW:' + token.toString());
                    // print("Check eval:");
                 
                     symbol = token.data;
@@ -535,7 +535,7 @@ ScopeParser.prototype = {
 
                         if (token.name == "EVAL") {
                             
-                            print(JSON.stringify(token, null,4));
+                            //print(JSON.stringify(token, null,4));
                             // look back one and see if we can find a comment!!!
                             //if (this.ts.look(-1).type == "COMM") {
                             if (token.prefix && token.prefix.match(/eval/)) {
@@ -785,7 +785,7 @@ ScopeParser.prototype = {
                     
              
                     symbol = token.data;
-                    //if (this.mode == 'BUILDING_SYMBOL_TREE') {
+                    if (this.mode == 'BUILDING_SYMBOL_TREE') {
                         
                         if (token.name == "EVAL") {
                             //print(JSON.stringify(token,null,4));
@@ -816,7 +816,7 @@ ScopeParser.prototype = {
 
                         }
                         break;
-                    //
+                    } 
                 default:
                     //if (this.mode == 'BUILDING_SYMBOL_TREE') 
                     //    print("EXPR-SKIP:" + JSON.stringify(token, null, 4));