parser.rs: Remove obtrusive debug printing
This commit is contained in:
parent
4314f8ee30
commit
0a4313bd1b
@ -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)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user