JSDOC/DocTag.js
[gnome.introspection-doc-generator] / JSDOC / DocTag.js
index 8e8afec..6b69d44 100644 (file)
@@ -58,7 +58,10 @@ DocTag = XObject.define(
                     case 'boolean':                    
                         ret[i] = this[i]; continue;
                     default:
-                        print("unknown type:" + typeof(this[i]));
+                        
+                        print("unknown type: (" + i + ")"  + typeof(this[i]));
+                        this.toJSON = null;q
+                        print(JSON.stringify(this));;
                         Seed.quit();
                    }
             }
@@ -93,7 +96,7 @@ DocTag = XObject.define(
             }
             
             // if type == @cfg, and matches (|....|...)
-            /*
+            
             src = src.trim();
             if (this.title == "cfg" && src.match(/^\([^)]+\)/)) {
                 var m = src.match(/^\(([^)]+)\)/);
@@ -109,7 +112,6 @@ DocTag = XObject.define(
                 
                 
             }
-            */
             
             
             this.desc = src; // whatever is left