JSDOC/CompressWhite.js
[gnome.introspection-doc-generator] / JSDOC / CompressWhite.js
index a510722..4467297 100644 (file)
@@ -78,10 +78,10 @@ CompressWhite =  function (ts, packer)
                     
                     throw "could not find end lbrace!!!";
                 }
-                print("AFTER BALANCE "(");
-                ts.dump(cu, ts.cursor+2);
-                
-                 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);