JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 04:49:19 +0000 (12:49 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 04:49:19 +0000 (12:49 +0800)
JSDOC/ScopeParser.js

index 9d8b7f2..dd3116d 100644 (file)
@@ -199,7 +199,7 @@ ScopeParser.prototype = {
             return;
         }
         
-        if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) {
+        //if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) {
             this.dumpLine.str +=  tok.data + ' ';
             if (this.dumpLine.str.length > 80 || tok.data ==';') {
                 
@@ -209,7 +209,7 @@ ScopeParser.prototype = {
                 this.dumpLine.str = '';
             }
             return;
-        }
+        //}
         
         print(
           //  (new Array(this.dumpLine.scope)).join("  ") + '|' + 
@@ -352,7 +352,7 @@ ScopeParser.prototype = {
                         if (this.ts.look(0).data == '{') {
                             this.ts.nextTok();
                         }
-                        this.braceNesting++;
+                        
                         print("<<<<<<<EXIT SCOPE" +this.scopes.length);
                         return;
                     }