JSDOC/CompressWhite.js
[gnome.introspection-doc-generator] / JSDOC / CompressWhite.js
index 38d3770..13d6df7 100644 (file)
@@ -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.name == "COMM") {
+            tok.outData == '\n';
+        }
         
         if (tok.type == "NAME"  && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) {
             //f.write(tok.identifier.mungedValue);