X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FCompressWhite.js;h=e284e80e4e208c1ea0b5fe7a71ea57f5aba4c588;hp=60e1d28cf923bf9a0d5c0bae4d7429f01e77a9c5;hb=f9a049fa33bddc22fb087239a7b832f1cc4491ca;hpb=64b88d6ed1c4034fb5c0bc15175d3f7b08bc6acb diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 60e1d28..e284e80 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -275,11 +275,13 @@ CompressWhite = function (ts, packer, keepWhite) while (true) { tok = keepWhite ? ts.next() : ts.nextTok(); - + if (!tok) { break; } - + if (tok.type == "COMM") { + tok.outData == '\n'; + } if (tok.type == "NAME" && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) { //f.write(tok.identifier.mungedValue);