X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FCompressWhite.js;h=50d7476e10984fdd2a4d6bfb8af89db6e7ce894d;hb=75e06430ca5dcb9ec1aca8d4f9cc209fc37bcd0c;hp=249afe75efe49dc48c6c3c50740984e67d6cff9e;hpb=e18bfc1fd9e2a38f229416e590a53d5e54083f60;p=gnome.introspection-doc-generator diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 249afe7..50d7476 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -274,8 +274,6 @@ const CompressWhite = function (ts, packer, keepWhite) try { out.length = ts.slen; } catch (e) {} // prealloc. out = ''; - print("CW: " +out); - var tok; while (true) { @@ -293,7 +291,7 @@ const CompressWhite = function (ts, packer, keepWhite) if (tok.type == "NAME" && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) { //f.write(tok.identifier.mungedValue); - print("MUNGED: " + tok.identifier.mungedValue); + //print("MUNGED: " + tok.identifier.mungedValue); out += tok.identifier.mungedValue; continue; } @@ -303,22 +301,17 @@ const CompressWhite = function (ts, packer, keepWhite) if ((tok.type == 'STRN') && (tok.name== 'DOUBLE_QUOTE')) { if (packer && packer.stringHandler) { out += packer.stringHandler(tok); - print("STR: " +out); continue; } } - + out += tok.outData !== false ? tok.outData : tok.data; - print("TOK: " +out); if ((tok.outData == ';') && (out.length - outoff > 255)) { outoff = out.length; out += "\n"; - print("BR: " +out); } } - print("CW: " +out); - //f.close(); /* // remove the last ';' !!!