JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index bdd9b3f..77dd6f7 100644 (file)
@@ -637,17 +637,17 @@ ScopeParser.prototype = {
                             token.items.forEach(function(ns) {
                                  print("EXPR-PUNC-MAKE:" + JSON.stringify(ns, null, 4));
                                 _this.ts = new TokenStream(ns);
-                                _this.ts.cursor--;
+                                //_this.ts.cursor--;
                                 _this.parseExpression();
                             });
                             this.ts = ts;
                             
                             break;
-/*
                         case ']': //Token.RB:
-                            bracketNesting--;
-                            break;
-*/
+                            return;
+                           
                         case '(': //Token.LP:
                             parensNesting++;
                             break;