Remove println.

This commit is contained in:
Stephen Chung 2020-06-26 19:54:12 +08:00
parent 31eaf321d0
commit 8c632ed928

View File

@ -632,7 +632,6 @@ pub fn get_next_token(
scan_comment(stream, state, pos, &mut comment); scan_comment(stream, state, pos, &mut comment);
if state.include_comments { if state.include_comments {
println!("Comment ({}): {}", start_pos, comment);
return Some((Token::Comment(comment), start_pos)); return Some((Token::Comment(comment), start_pos));
} }
} }
@ -920,7 +919,6 @@ pub fn get_next_token(
} }
if state.include_comments { if state.include_comments {
println!("Comment ({}): {}", start_pos, comment);
return Some((Token::Comment(comment), start_pos)); return Some((Token::Comment(comment), start_pos));
} }
} }
@ -937,7 +935,6 @@ pub fn get_next_token(
scan_comment(stream, state, pos, &mut comment); scan_comment(stream, state, pos, &mut comment);
if state.include_comments { if state.include_comments {
println!("Comment ({}): {}", start_pos, comment);
return Some((Token::Comment(comment), start_pos)); return Some((Token::Comment(comment), start_pos));
} }
} }