JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index 21402cf..25cb89c 100644 (file)
@@ -154,14 +154,14 @@ Walker2 = XObject.define(
             
             //print(JSON.stringify(this.ts, null, 4)); Seed.quit();
             
-            while (false != (token = this.ts.next())) {
-                print("TOK"+ token.toString());
+            while (null != (token = this.ts.next())) {
+                //print("TOK"+ token.toString());
                 //  this.timerPrint("parseScope AFTER lookT: " + token.toString()); 
                   
                 if (token.is('WHIT')) {
                       
                  
-                    if (!token._isDoc) {
+                    if (!token.name != 'JSDOC') {
                         continue; //skip.
                     }
                     if (this.currentDoc) {