JSDOC/Walker2.js
[gnome.introspection-doc-generator] / JSDOC / Walker2.js
index cad5b42..d008b3b 100644 (file)
@@ -159,10 +159,11 @@ Walker2 = XObject.define(
                 print("TOK"+ token.toString());
                 //  this.timerPrint("parseScope AFTER lookT: " + token.toString()); 
                   
-                if (token.is('WHIT')) {
+                if (token.is('COMM')) {
                       
                  
                     if (token.name != 'JSDOC') {
+                        print("Walker2 : spce is not JSDOC");
                         continue; //skip.
                     }
                     if (this.currentDoc) {