X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FDocTag.js;h=6b69d44c0236b56f8e74e555c7a08c7515e5da9b;hb=31648bbea973fdc4cf3ca0145ecd7a399cfce4e5;hp=e761d1f8f99a05f42a6a94461ba269d2b475c611;hpb=77e2bd48399f4c9f311aa74722c4fb1ca9426e63;p=gnome.introspection-doc-generator diff --git a/JSDOC/DocTag.js b/JSDOC/DocTag.js index e761d1f..6b69d44 100644 --- a/JSDOC/DocTag.js +++ b/JSDOC/DocTag.js @@ -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(); } } @@ -97,10 +100,12 @@ DocTag = XObject.define( src = src.trim(); if (this.title == "cfg" && src.match(/^\([^)]+\)/)) { var m = src.match(/^\(([^)]+)\)/); + print(m); if (m[1].match(/\|/)) { var opts = m[1].split(/\|/); this.optvalues = opts; src = src.substring(m[0].length).trim(); + print(src); }