JSDOC/CompressWhite.js
[gnome.introspection-doc-generator] / JSDOC / CompressWhite.js
index 8a55d34..4467297 100644 (file)
@@ -78,7 +78,10 @@ CompressWhite =  function (ts, packer)
                     
                     throw "could not find end lbrace!!!";
                 }
-                 if (!ts.balance("{") ){
+                print("AFTER BALANCE (");
+                ts.dump(cu, ts.cursor);
+                ts.cursor--; // cursor at the (
+                if (!ts.balance("{") ){
                     ts.dump(cu-40, cu);
                     print(">>>>>>>>>>>>>>>>>HERE>>>>>>>>>>>>");
                     ts.dump(cu, cu+40);
@@ -95,7 +98,10 @@ CompressWhite =  function (ts, packer)
                     
                     ts.look(0).outData = ts.look(0).data+";";
                     print("ADDING SEMI: " + ts.look(0).toString());
+                    //ts.dump(cu, ts.cursor+2);
                 }
+                
+                 ts.dump(cu, ts.cursor+2);
                 // restore.. 
                 ts.cursor = cu;
                 continue;