JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index 119c84a..3132762 100644 (file)
@@ -148,14 +148,14 @@ Walker2 = XObject.define(
             var scopeLen = this.scopes.length;
             
             if (this.ts.cursor < 1) {
-                this.ts.cursor--; // hopeflly this kludge will work
-               }
-            
+                 this.ts.cursor--; // hopeflly this kludge will work
+            }
             
             
+            //print(JSON.stringify(this.ts, null, 4)); Seed.quit();
             
             while (false != (token = this.ts.next())) {
-                //print("TOK"+ token.toString());
+                print("TOK"+ token.toString());
                 //  this.timerPrint("parseScope AFTER lookT: " + token.toString()); 
                   
                 if (token.is('WHIT')) {
@@ -375,7 +375,7 @@ Walker2 = XObject.define(
                         this.ts.lookT(2).name == 'NEW' &&
                         this.ts.lookT(3).type == 'NAME' &&
                         this.ts.lookT(4).data == '(' &&
-                        this.ts.lookT(5)..data == '{' 
+                        this.ts.lookT(5).data == '{' 
                         ) {
                         scopeName = token.data;
                         if (this.currentDoc) {