JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 06:21:01 +0000 (14:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 06:21:01 +0000 (14:21 +0800)
JSDOC/ScopeParser.js

index 267152b..57ba1aa 100644 (file)
@@ -635,7 +635,9 @@ ScopeParser.prototype = {
                             var ts = this.ts;
                             var _this = this;
                             token.items.forEach(function(ns) {
+                                
                                 _this.ts = new TokenStream(ns);
+                                _this.ts.cursor = -1;
                                 _this.parseExpression();
                             });
                             this.ts = ts;