Token token;
while (null != (token = this.look(1,false))) {
- debug("BALANCE: " + token.asString());
+ debug("BALANCE: %d %s " , this.cursor, token.asString());
if (token.is(start)) {
// Seed.print("balance: START : " + depth + " " + token.data);
depth++;
print("balance (%d): STOP: %s\n" , depth , token.data);
if (depth < 1) {
+ this.next(); // shift cursor to eat closer...
+ print("returning got %d\n", got.size);
return got;
}