aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/util/skip.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/skip.rs b/src/util/skip.rs
index 3307734..d7b3896 100644
--- a/src/util/skip.rs
+++ b/src/util/skip.rs
@@ -59,7 +59,10 @@ fn skip_opt_with_direction(
};
if events[index].token_type == *current && balance == 0 {
- println!("close:it! {:?} {:?}", events[index].token_type, balance);
+ println!(
+ "close:it! {:?} {:?} {:?}",
+ events[index].token_type, balance, index
+ );
index = if forward { index + 1 } else { index - 1 };
println!("index:break: {:?}", index);
break;