tok = ts.next();
var cu = ts.cursor;
- ts.cursor+=2; // move two along, and balance...
-
+
if (tok.data != "(" || ts.balance("(").size < 1 ){
print("balance ( issue on line %d\n", ts.toArray().get(cu).line);
throw new CompressWhiteError.BRACE( "could not find end lbrace!!!" );
}
tok = ts.lookTok(0);
+
+ cu = ts.cursor; // set the cursor to here.. so the next bit of the code will check inside the method.
+
//print("AFTER BALANCE (");
//ts.dump(cu, ts.cursor);
//ts.cursor--; // cursor at the (