From: Alan Knowles Date: Fri, 16 Jul 2010 05:30:38 +0000 (+0800) Subject: JSDOC/CompressWhite.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=f9a049fa33bddc22fb087239a7b832f1cc4491ca JSDOC/CompressWhite.js --- 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);