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