JSDOC/CompressWhite.js
[gnome.introspection-doc-generator] / JSDOC / CompressWhite.js
index f24659a..3c18da6 100644 (file)
@@ -188,7 +188,7 @@ CompressWhite =  function (ts, packer)
                     tok.outData =  tok.data + " ";
                 }
                 continue;
-             case ";"
+             case ";":
                 //remove semicolon before brace -- 
                 //if(ts.look(1).isTypeN(Script.TOKrbrace)) {
                 //    tok.outData = '';
@@ -224,7 +224,7 @@ CompressWhite =  function (ts, packer)
         
         // at this point we can apply a text translation kit...
         
-        if (tok.type == 'STRN') && (tok.name== 'DOUBLE_QUOTE') {
+        if ((tok.type == 'STRN') && (tok.name== 'DOUBLE_QUOTE')) {
             if (packer.stringHandler) {
                 out += packer.stringHandler(tok);
                 continue;