From 8cb1dc6e30dc34075e210ca9d72ee67b9291a139 Mon Sep 17 00:00:00 2001 From: gluax Date: Sat, 22 May 2021 15:57:25 -0400 Subject: [PATCH] remove debug stmts --- parser/src/tokenizer/lexer.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/parser/src/tokenizer/lexer.rs b/parser/src/tokenizer/lexer.rs index 9da887ac15..b85df00bab 100644 --- a/parser/src/tokenizer/lexer.rs +++ b/parser/src/tokenizer/lexer.rs @@ -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 { - 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; } _ => {}