JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 6e2742a..7a6e0da 100644 (file)
@@ -181,7 +181,7 @@ ScopeParser.prototype = {
         print ("                    ".substring(0, this.braceNesting*2) + str);
         
         //println("<B>LOG:</B>" + htmlescape(str) + "<BR/>\n");
-    },q
+    },
     logR : function(str)
     {
             //println("<B>LOG:</B>" + str + "<BR/>");
@@ -261,9 +261,9 @@ ScopeParser.prototype = {
                         if (token.name == "IN") {
                             break;
                         } else {
-                            var bn = this.braceNesting;
+                            //var bn = this.braceNesting;
                             this.parseExpression();
-                            this.braceNesting = bn;
+                            //this.braceNesting = bn;
                             //this.logR("parseScope DONE  : <B>ParseExpression</B> - tok is:" + this.ts.lookT(0).toString()); 
                             
                             token = this.ts.lookTok(1);
@@ -301,7 +301,7 @@ ScopeParser.prototype = {
                         ls.getUsedSymbols();
                         // eat symbol if we are currently at { 
                         if (this.ts.look(0).data == '{') {
-                            tihs.ts.nextTok();
+                            this.ts.nextTok();
                         }
                         
                         //print("<<<<<<<EXIT SCOPE" +this.scopes.length);