X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FCompressWhite.js;h=e284e80e4e208c1ea0b5fe7a71ea57f5aba4c588;hp=38d377022304020e5c9c9c63ff4420f704dc1454;hb=f9a049fa33bddc22fb087239a7b832f1cc4491ca;hpb=dc93f423cc6c9b92289555a329676324665929a9 diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 38d3770..e284e80 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -275,13 +275,13 @@ CompressWhite = function (ts, packer, keepWhite) while (true) { tok = keepWhite ? ts.next() : ts.nextTok(); - if (tok.type == "COMM") { - tok.outDate == ' '; - } + 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);