mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
remove debug stmts
This commit is contained in:
parent
efc83205f2
commit
8cb1dc6e30
@ -65,9 +65,7 @@ impl Token {
|
||||
/// Returns a `char` if an character can be eaten, otherwise returns [`None`].
|
||||
///
|
||||
fn eat_char(input_tendril: StrTendril, escaped: bool, hex: bool, unicode: bool) -> Option<char> {
|
||||
println!("it {} e {} h {} u {}", input_tendril, escaped, hex, unicode);
|
||||
if input_tendril.is_empty() {
|
||||
println!("ne");
|
||||
return None;
|
||||
}
|
||||
|
||||
@ -119,7 +117,6 @@ impl Token {
|
||||
}
|
||||
}
|
||||
|
||||
println!("itcs {:?}", input_tendril.to_string().chars());
|
||||
if let Some(character) = input_tendril.to_string().chars().next() {
|
||||
return Some(character);
|
||||
}
|
||||
@ -211,7 +208,6 @@ impl Token {
|
||||
in_escape = false;
|
||||
}
|
||||
_ if hex && len == 4 => {
|
||||
println!("len 4");
|
||||
in_escape = false;
|
||||
}
|
||||
_ => {}
|
||||
|
Loading…
Reference in New Issue
Block a user