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

index 7cd9025..4722a4e 100644 (file)
@@ -902,7 +902,9 @@ ScopeParser.prototype = {
         // now pop it off the stack!!!
        
         this.braceNesting = b4braceNesting;
-        print(this.ts.look(0).toString());
+        print(this.ts.lookTok(-1).toString());
+        print(this.ts.lookTok(0).toString());
+        print(this.ts.lookTok(1).toString());
     },
     
     protectScopeFromObfuscation : function(scope) {