X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FCompressWhite.js;h=e284e80e4e208c1ea0b5fe7a71ea57f5aba4c588;hp=86ef6fad5be8defbd04ae09ae38954a25911a18e;hb=f9a049fa33bddc22fb087239a7b832f1cc4491ca;hpb=edf4657868d6cbdb8a43e97eb12534b6c9c9ae00 diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 86ef6fa..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 == '\n'; - } + 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);