JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index c50402d..267152b 100644 (file)
@@ -608,7 +608,7 @@ ScopeParser.prototype = {
                             if (this.braceNesting == expressionBraceNesting &&
                                     bracketNesting == 0 &&
                                     parensNesting == 0) {
-                                print(scopeIndent + "<< EXIT EXPRESSION");
+                                print("<< EXIT EXPRESSION");
                                 this.expN--;
                                 return;
                             }
@@ -638,6 +638,7 @@ ScopeParser.prototype = {
                                 _this.ts = new TokenStream(ns);
                                 _this.parseExpression();
                             });
+                            this.ts = ts;
                             
                             break;
 /*
@@ -782,7 +783,7 @@ ScopeParser.prototype = {
             }
             if (!this.ts.nextTok()) break;
         }
-        print(scopeIndent + "<< EXIT EXPRESSION");
+        print("<< EXIT EXPRESSION");
         this.expN--;
     },