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

index 290a872..373a65b 100644 (file)
@@ -637,6 +637,7 @@ ScopeParser.prototype = {
                             token.items.forEach(function(ns) {
                                  print("EXPR-PUNC[:" + JSON.stringify(ns, null, 4));
                                 _this.ts = new TokenStream(ns);
+                                _this.ts.cursor--;
                                 _this.parseExpression();
                             });
                             this.ts = ts;