Remove eprintln!s that shouldn't have been committed
This commit is contained in:
committed by
Chris Fallin
parent
037db8aab6
commit
22e18a9d98
@@ -729,7 +729,6 @@ impl<'a> Codegen<'a> {
|
|||||||
// (possibly an empty one). Only use a `match` form if there
|
// (possibly an empty one). Only use a `match` form if there
|
||||||
// are at least two adjacent options.
|
// are at least two adjacent options.
|
||||||
if last - i > 1 {
|
if last - i > 1 {
|
||||||
eprintln!("FITZGEN: generating body matches");
|
|
||||||
self.generate_body_matches(code, depth, &edges[i..last], indent, ctx);
|
self.generate_body_matches(code, depth, &edges[i..last], indent, ctx);
|
||||||
i = last;
|
i = last;
|
||||||
continue;
|
continue;
|
||||||
@@ -744,13 +743,8 @@ impl<'a> Codegen<'a> {
|
|||||||
match symbol {
|
match symbol {
|
||||||
&TrieSymbol::EndOfMatch => {
|
&TrieSymbol::EndOfMatch => {
|
||||||
returned = self.generate_body(code, depth + 1, node, indent, ctx);
|
returned = self.generate_body(code, depth + 1, node, indent, ctx);
|
||||||
eprintln!(
|
|
||||||
"FITZGEN: generated end-of-match; returned = {:?}",
|
|
||||||
returned
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
&TrieSymbol::Match { ref op } => {
|
&TrieSymbol::Match { ref op } => {
|
||||||
eprintln!("FITZGEN: generating [if] let");
|
|
||||||
let id = InstId(depth);
|
let id = InstId(depth);
|
||||||
let infallible =
|
let infallible =
|
||||||
self.generate_pattern_inst(code, id, op, indent, ctx);
|
self.generate_pattern_inst(code, id, op, indent, ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user