parser.rs: Remove obtrusive debug printing

This commit is contained in:
John 2023-08-23 00:27:09 -05:00
parent 4314f8ee30
commit 0a4313bd1b

View File

@ -115,13 +115,7 @@ pub(crate) mod root {
Ok(Line::EndOfFile) => break, Ok(Line::EndOfFile) => break,
Ok(line) => lines.push(line), Ok(line) => lines.push(line),
Err(e) => { Err(e) => {
let ret = Self(lines); return Err(Error::ParseError(Self(lines), Box::new(e)));
eprintln!("{ret}");
eprintln!("Error:{e}\n");
eprint!("Remaining:");
stream.for_each(|t| eprint!("{t}"));
eprintln!();
return Err(Error::ParseError(ret, Box::new(e)));
} }
} }
} }